mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-29 23:41:38 -06:00
Minor fix - memset like the author wanted.
This commit is contained in:
parent
2fd46433f2
commit
79fcd2ec18
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user