Skip to content

Commit

Permalink
BUILD: ssl: get0_verified chain is available on libreSSL
Browse files Browse the repository at this point in the history
Define HAVE_SSL_get0_verified_chain when it's using libreSSL >= 3.3.6.
  • Loading branch information
wlallemand committed May 15, 2023
1 parent 6e0c39d commit 9394bc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/haproxy/openssl-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@

#if (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L)
#define HAVE_SSL_KEYLOG
#endif

/* minimum OpenSSL 1.1.1 & libreSSL 3.3.6 */
#if (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER >= 0x3030600L)) || (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L)
#define HAVE_SSL_get0_verified_chain
#endif

Expand Down

0 comments on commit 9394bc6

Please sign in to comment.