diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2016-12-30 10:11:57 +0100 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2016-12-30 10:11:57 +0100 | 
| commit | 845418b4027d9d30a7de2a54e4944a8878d3f90e (patch) | |
| tree | 5c9b34a036a431b891d91cafe67c7721047d63a9 /modules | |
| parent | c9823176a598f38bbccab447b169b0090bcc54dc (diff) | |
Free whole MD5 context
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/benchmark/md5.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/modules/benchmark/md5.c b/modules/benchmark/md5.c index 70f39c45..f4032ddd 100644 --- a/modules/benchmark/md5.c +++ b/modules/benchmark/md5.c @@ -173,7 +173,7 @@ struct MD5Context *ctx;      putu32(ctx->buf[1], digest + 4);      putu32(ctx->buf[2], digest + 8);      putu32(ctx->buf[3], digest + 12); -    memset(ctx, 0, sizeof(ctx));	/* In case it's sensitive */ +    memset(ctx, 0, sizeof(*ctx));	/* In case it's sensitive */  }  #ifndef ASM_MD5 | 
