Minor fix - memset like the author wanted.

This commit is contained in:
Scott Ludwig 2016-01-01 13:56:39 -08:00
parent 2fd46433f2
commit 79fcd2ec18

View File

@ -155,7 +155,7 @@ MD5Final(unsigned char digest[16], struct MD5Context *ctx)
putu32(ctx->buf[1], digest + 4);
putu32(ctx->buf[2], digest + 8);
putu32(ctx->buf[3], digest + 12);
memset(ctx->buf, 0, sizeof(ctx->buf)); /* In case it's sensitive */
memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
}
#ifndef ASM_MD5