Skip to content
Snippets Groups Projects
Commit dee30523 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#6982 fix md5 memset invocation

parent 8f213b25
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ lutil_MD5Final( unsigned char *digest, struct lutil_MD5Context *ctx )
putu32(ctx->buf[1], digest + 4);
putu32(ctx->buf[2], digest + 8);
putu32(ctx->buf[3], digest + 12);
memset(ctx, '\0', sizeof(ctx)); /* In case it's sensitive */
memset(ctx, '\0', sizeof(*ctx)); /* In case it's sensitive */
}
#ifndef ASM_MD5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment