From: William Lallemand Date: Mon, 9 Oct 2023 13:44:50 +0000 (+0200) Subject: BUILD: ssl: add 'secure_memcmp' converter for WolfSSL and awslc X-Git-Tag: v2.9-dev8~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4428ac4f709308aad9477f573b207f7ed33460b9;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index 50344e65cf..c87b65f2e7 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