Skip to content

Commit

Permalink
minor fix in md5sum file found by gcc 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard R. Link committed Jun 16, 2013
1 parent fcda1d0 commit 850ec73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion md5.c
Expand Up @@ -142,7 +142,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
Expand Down

0 comments on commit 850ec73

Please sign in to comment.