mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#6982 fix md5 memset invocation
This commit is contained in:
parent
8df4c357be
commit
c02e681121
@ -185,7 +185,7 @@ lutil_MD5Final( unsigned char *digest, struct lutil_MD5Context *ctx )
|
|||||||
putu32(ctx->buf[1], digest + 4);
|
putu32(ctx->buf[1], digest + 4);
|
||||||
putu32(ctx->buf[2], digest + 8);
|
putu32(ctx->buf[2], digest + 8);
|
||||||
putu32(ctx->buf[3], digest + 12);
|
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
|
#ifndef ASM_MD5
|
||||||
|
Loading…
Reference in New Issue
Block a user