aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/modes/gcm128.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/modes/gcm128.c')
-rw-r--r--openssl/crypto/modes/gcm128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/modes/gcm128.c b/openssl/crypto/modes/gcm128.c
index f69f2c9db..0ee569fb7 100644
--- a/openssl/crypto/modes/gcm128.c
+++ b/openssl/crypto/modes/gcm128.c
@@ -1622,7 +1622,7 @@ int CRYPTO_gcm128_finish(GCM128_CONTEXT *ctx, const unsigned char *tag,
ctx->Xi.u[1] ^= ctx->EK0.u[1];
if (tag && len <= sizeof(ctx->Xi))
- return memcmp(ctx->Xi.c, tag, len);
+ return CRYPTO_memcmp(ctx->Xi.c, tag, len);
else
return -1;
}