summaryrefslogtreecommitdiffstats
path: root/libmd5/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmd5/md5.c')
-rw-r--r--libmd5/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmd5/md5.c b/libmd5/md5.c
index 0763598..5210d92 100644
--- a/libmd5/md5.c
+++ b/libmd5/md5.c
@@ -164,7 +164,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