MINOR: ssl: Define HAVE_VANILLA_OPENSSL if openssl is used.

If we're using OpenSSL as our crypto library, so add a define,
HAVE_VANILLA_OPENSSL, to make it easier to differentiate between the
various crypto libs.
This commit is contained in:
Olivier Houchard 2025-07-03 18:12:19 +02:00 committed by Olivier Houchard
parent e8674658ae
commit 7836fe8fe3

View File

@ -128,6 +128,11 @@ enum ssl_encryption_level_t {
#define HAVE_CRYPTO_memcmp
#endif
#if !defined(USE_OPENSSL_WOLFSSL) && !defined(OPENSSL_IS_AWSLC) && !defined(OPENSSL_IS_BORINGSSL) && !defined(LIBRESSL_VERSION_NUMBER)
/* Defined if our SSL lib is really OpenSSL */
#define HAVE_VANILLA_OPENSSL
#endif
#if (defined(SN_ct_cert_scts) && !defined(OPENSSL_NO_TLSEXT))
#define HAVE_SSL_SCTL
#endif