forked from pool/kbuild
- Update to version 0.1.9998svn3110. VirtualBox 5.2.0 needs this one to build. Changes detailed in upstream url from svn 2815 to 3110. - Rebased patches - Removed test for openSUSE 12.3 from spec file. OBS-URL: https://build.opensuse.org/request/show/535804 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=34
14 lines
553 B
Diff
14 lines
553 B
Diff
Index: kbuild-0.1.9998svn3110/src/lib/md5.c
|
|
===================================================================
|
|
--- kbuild-0.1.9998svn3110.orig/src/lib/md5.c
|
|
+++ kbuild-0.1.9998svn3110/src/lib/md5.c
|
|
@@ -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);
|
|
- memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
|
|
+ memset(ctx, 0, sizeof(struct MD5Context)); /* In case it's sensitive */
|
|
}
|
|
|
|
|