diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/md5.c b/lib/crypto/md5.c index e6178cc015..032474478e 100644 --- a/lib/crypto/md5.c +++ b/lib/crypto/md5.c @@ -144,7 +144,7 @@ _PUBLIC_ void MD5Final(uint8_t digest[16], struct MD5Context *ctx) MD5Transform(ctx->buf, (uint32_t *) ctx->in); byteReverse((uint8_t *) ctx->buf, 4); memmove(digest, ctx->buf, 16); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ } /* The four core functions - F1 is optimized somewhat */ |