2017-10-24 15:07:10 +00:00
|
|
|
Index: kbuild-0.1.9998svn3110/src/lib/md5.c
|
2012-01-03 15:08:37 +00:00
|
|
|
===================================================================
|
2017-10-24 15:07:10 +00:00
|
|
|
--- kbuild-0.1.9998svn3110.orig/src/lib/md5.c
|
|
|
|
+++ kbuild-0.1.9998svn3110/src/lib/md5.c
|
2012-01-03 15:08:37 +00:00
|
|
|
@@ -144,7 +144,7 @@ void MD5Final(unsigned char digest[16],
|
|
|
|
MD5Transform(ctx->buf, (uint32 *) ctx->in);
|
|
|
|
byteReverse((unsigned char *) ctx->buf, 4);
|
|
|
|
memcpy(digest, ctx->buf, 16);
|
2017-10-24 15:07:10 +00:00
|
|
|
- memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
|
2012-01-03 15:08:37 +00:00
|
|
|
+ memset(ctx, 0, sizeof(struct MD5Context)); /* In case it's sensitive */
|
|
|
|
}
|
|
|
|
|
|
|
|
|