diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2014-03-07 00:02:32 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2014-03-07 00:02:32 +0000 |
commit | b4008a52254debf3a2c348c9e4a710d3bb8dc8ec (patch) | |
tree | 0e67092b48655463a3830b03a62603db50f3144a /lib/md5.c | |
parent | b4b8f1e2bc776969d74ed78bcd44b70a2293a8f3 (diff) |
Merging compiler warning fix. Patch by Mark H Weaver <mhw@netris.org>.
Diffstat (limited to 'lib/md5.c')
-rw-r--r-- | lib/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ void md5_finish(struct MD5Context *ctx, md5_byte_t digest[16]) ctx->buf[2] = cvt32(ctx->buf[2]); ctx->buf[3] = cvt32(ctx->buf[3]); 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 */ } void md5_finish_ascii(struct MD5Context *context, char *ascii) |