mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
BUG/MINOR: ssl: fix build of X509_chain_up_ref() w/ libreSSL
LibreSSL brought X509_chain_up_ref() in 2.7.5, so no need to build our own version starting from this version.
This commit is contained in:
parent
89f5807315
commit
705e088f0a
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ static inline int SSL_SESSION_set1_id_context(SSL_SESSION *s, const unsigned cha
|
|||
#endif
|
||||
|
||||
|
||||
#if (HA_OPENSSL_VERSION_NUMBER < 0x1000200fL)
|
||||
#if (HA_OPENSSL_VERSION_NUMBER < 0x1000200fL) && (LIBRESSL_VERSION_NUMBER < 0x2070500fL)
|
||||
/* introduced in openssl 1.0.2 */
|
||||
|
||||
static inline STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain)
|
||||
|
|
|
|||
Loading…
Reference in a new issue