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.
This commit is contained in:
William Lallemand 2023-10-09 15:44:50 +02:00
parent bf426eecd7
commit 4428ac4f70

View File

@ -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