BUILD: ssl: enable keylog for WolfSSL

Enable the keylog feature when linking against an WolfSSL library which
has the 'HAVE_SECRET_CALLBACK' define.

Only supports <= TLSv1.2 secret dump.
This commit is contained in:
William Lallemand 2023-10-09 21:34:25 +02:00
parent 9a4c53d96c
commit deed2b6077
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@
#define HAVE_SSL_SCTL
#endif
#if (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L) || defined(USE_OPENSSL_AWSLC)
#if (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L) || defined(USE_OPENSSL_AWSLC) || (defined(USE_OPENSSL_WOLFSSL) && defined(HAVE_SECRET_CALLBACK))
#define HAVE_SSL_KEYLOG
#endif