summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-01-05 22:56:47 +0100
committerAndy Polyakov <appro@openssl.org>2015-01-07 18:41:17 +0100
commit2d63d0c84acfdf14d4870a7d04d1b27b000e579c (patch)
tree659a15ce3c97d5cd59cbaec325b4c193bb822be1 /crypto/dh
parentcfb5d6c10a00a1874dbc5eeff762b7e502f711e6 (diff)
Fix irix-cc build.
Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit e464403d0bda2f1f74eb68582e4988e591c32433)
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh_kdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_kdf.c b/crypto/dh/dh_kdf.c
index dbdd0b9ba6..cabc7a1260 100644
--- a/crypto/dh/dh_kdf.c
+++ b/crypto/dh/dh_kdf.c
@@ -131,7 +131,7 @@ static int dh_sharedinfo_encode(unsigned char **pder, unsigned char **pctr,
return 0;
if (!skip_asn1(&p, &tlen, V_ASN1_OCTET_STRING))
return 0;
- if (memcmp(p, ctr, 4))
+ if (CRYPTO_memcmp(p, ctr, 4))
return 0;
*pctr = p;
return derlen;