ITS#6982 fix md5 memset invocation

This commit is contained in:
Howard Chu 2011-07-01 22:55:06 -07:00
parent 8df4c357be
commit c02e681121

View File

@ -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