summaryrefslogtreecommitdiff
path: root/src/md5.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2014-12-25 12:00:00 +0100
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 03:45:24 +0200
commit22475d6d94e96056d1550dca00b32d00e3821649 (patch)
tree175dbbc8da0704d493fe3cb6024d8117c4f1b27b /src/md5.c
parent819e239f23b0c515f32fe0ec8350bdfd8d64c9e9 (diff)
Import icculus.org release (2014-12-25)
Diffstat (limited to 'src/md5.c')
-rw-r--r--src/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md5.c b/src/md5.c
index 611f151..247d21c 100644
--- a/src/md5.c
+++ b/src/md5.c
@@ -142,7 +142,7 @@ MD5Final(md5byte digest[16], struct MD5Context *ctx)
byteSwap(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