summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/everything/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/everything/md5.c b/src/modules/everything/md5.c
index 3e5185c002..fdc44cdf83 100644
--- a/src/modules/everything/md5.c
+++ b/src/modules/everything/md5.c
@@ -156,7 +156,7 @@ MD5Final(unsigned char digest[16], MD5_CTX *ctx)
MD5Transform(ctx->buf, (uint32_t *)ctx->in);
byteReverse((unsigned char *)ctx->buf, 4);
memcpy(digest, ctx->buf, 16);
- memset((char *)ctx, 0, sizeof(ctx)); /* In case it's sensitive */
+ memset((char *)ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
}
/* The four core functions - F1 is optimized somewhat */