summaryrefslogtreecommitdiff
path: root/security/digest/files/patch-sha2.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/digest/files/patch-sha2.c')
-rw-r--r--security/digest/files/patch-sha2.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/security/digest/files/patch-sha2.c b/security/digest/files/patch-sha2.c
deleted file mode 100644
index bedf3e5fc22a..000000000000
--- a/security/digest/files/patch-sha2.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- sha2.c.orig Thu Jul 21 00:39:56 2005
-+++ sha2.c Thu Jul 21 02:30:00 2005
-@@ -588,7 +588,7 @@
- /* Begin padding with a 1 bit: */
- context->buffer[usedspace++] = 0x80;
-
-- if (usedspace < SHA256_SHORT_BLOCK_LENGTH) {
-+ if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) {
- /* Set-up for the last transform: */
- MEMSET_BZERO(&context->buffer[usedspace], SHA256_SHORT_BLOCK_LENGTH - usedspace);
- } else {