X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=common%2Fmd5.c;h=ffbc215a32451d740e5d8b76ef0f5a5e86562362;hb=d67dd1bf5a247e20141b9907f5a452da73624235;hp=f19672ece9a63772925dfbfa2e49123fd3099b6b;hpb=c2d9d57024eb3258f4ad73d545b71df1c2188b85;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 */