From 4428ac4f709308aad9477f573b207f7ed33460b9 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 9 Oct 2023 15:44:50 +0200 Subject: [PATCH] BUILD: ssl: add 'secure_memcmp' converter for WolfSSL and awslc CRYPTO_memcmp is supported by both awslc and wolfssl, lets add the suport for the 'secure_memcmp' converter into the build. --- include/haproxy/openssl-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index 50344e6..c87b65f 100644 --- a/include/haproxy/openssl-compat.h +++ b/include/haproxy/openssl-compat.h @@ -90,7 +90,7 @@ #define HAVE_SSL_CTX_get0_privatekey #endif -#if HA_OPENSSL_VERSION_NUMBER >= 0x1000104fL +#if HA_OPENSSL_VERSION_NUMBER >= 0x1000104fL || defined(USE_OPENSSL_WOLFSSL) || defined(USE_OPENSSL_AWSLC) /* CRYPTO_memcmp() is present since openssl 1.0.1d */ #define HAVE_CRYPTO_memcmp #endif -- 1.7.10.4