Skip to content

Commit 9394bc6

Browse files
committed
BUILD: ssl: get0_verified chain is available on libreSSL
Define HAVE_SSL_get0_verified_chain when it's using libreSSL >= 3.3.6.
1 parent 6e0c39d commit 9394bc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/haproxy/openssl-compat.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@
9090

9191
#if (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L)
9292
#define HAVE_SSL_KEYLOG
93+
#endif
94+
95+
/* minimum OpenSSL 1.1.1 & libreSSL 3.3.6 */
96+
#if (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER >= 0x3030600L)) || (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L)
9397
#define HAVE_SSL_get0_verified_chain
9498
#endif
9599

0 commit comments

Comments
 (0)