projects
/
haproxy-2.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4c53d
)
BUILD: ssl: enable keylog for WolfSSL
author
William Lallemand
<wlallemand@haproxy.com>
Mon, 9 Oct 2023 19:34:25 +0000
(21:34 +0200)
committer
William Lallemand
<wlallemand@haproxy.com>
Mon, 9 Oct 2023 19:34:25 +0000
(21:34 +0200)
Enable the keylog feature when linking against an WolfSSL library which
has the 'HAVE_SECRET_CALLBACK' define.
Only supports <= TLSv1.2 secret dump.
include/haproxy/openssl-compat.h
patch
|
blob
|
history
diff --git
a/include/haproxy/openssl-compat.h
b/include/haproxy/openssl-compat.h
index
78fbad4
..
5639468
100644
(file)
--- a/
include/haproxy/openssl-compat.h
+++ b/
include/haproxy/openssl-compat.h
@@
-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