X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;ds=sidebyside;f=common%2Fmd5.c;fp=common%2Fmd5.c;h=ffbc215a32451d740e5d8b76ef0f5a5e86562362;hb=92532488cf742c6501a3a7b258a18017465f5904;hp=f19672ece9a63772925dfbfa2e49123fd3099b6b;hpb=54a4f223ba5000c4084d74c99e03988be9c71254;p=blerg.git diff --git a/common/md5.c b/common/md5.c index f19672e..ffbc215 100644 --- a/common/md5.c +++ b/common/md5.c @@ -257,7 +257,7 @@ void MD5Final(unsigned char digest[16], MD5Transform(ctx->buf, (uint32_t *) ctx->in); byteReverse((unsigned char *) ctx->buf, 4); memcpy(digest, ctx->buf, 16); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + memset(ctx, 0, sizeof(struct MD5Context)); /* In case it's sensitive */ } /* end of md5.c */