]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: ssl: enable keylog for awslc
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 9 Oct 2023 14:17:30 +0000 (16:17 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 9 Oct 2023 14:17:30 +0000 (16:17 +0200)
AWSLC suports SSL_CTX_set_keylog_callback(), this patch enables the
build with the keylog feature for this library.

include/haproxy/openssl-compat.h

index c87b65f2e7c0631b454e7f006423b9e83d230835..fbaacbcd305695cec56d56b91389671369c6933c 100644 (file)
@@ -99,7 +99,7 @@
 #define HAVE_SSL_SCTL
 #endif
 
-#if (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L)
+#if (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L) || defined(USE_OPENSSL_AWSLC)
 #define HAVE_SSL_KEYLOG
 #endif