blob: 08408eef98f7fd5277baf94ec2938dba89b33190 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -uNr iax-0.2.2.ORIG/src/md5.c iax-0.2.2/src/md5.c
--- iax-0.2.2.ORIG/src/md5.c 2014-05-13 13:26:51.570877706 +0100
+++ iax-0.2.2/src/md5.c 2014-05-13 13:27:08.567878553 +0100
@@ -165,7 +165,7 @@
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(*ctx)); /* In case it's sensitive */
}
#ifndef ASM_MD5
|