Skip to content

Commit

Permalink
md5.c: fix a typo in the size argument of memset
Browse files Browse the repository at this point in the history
  • Loading branch information
michalt authored and ezyang committed Apr 16, 2013
1 parent 1ac38ef commit 1ced18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cbits/md5.c
Expand Up @@ -130,7 +130,7 @@ MD5Final(byte digest[16], struct MD5Context *ctx)

byteSwap(ctx->buf, 4);
memcpy(digest, ctx->buf, 16);
memset(ctx,0,sizeof(ctx));
memset(ctx, 0, sizeof(*ctx));
}


Expand Down

0 comments on commit 1ced18a

Please sign in to comment.