Merge pull request #1156 from botovq/client_ciphers

Remove #if defined(LIBRESSL_VERSION_NUMBER) path
This commit is contained in:
Povilas Kanapickas 2021-06-13 18:43:37 +03:00 committed by GitHub
commit 649fdfe042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -829,7 +829,7 @@ SecureSocket::showSecureCipherInfo()
showCipherStackDesc(sStack);
}
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
#if OPENSSL_VERSION_NUMBER < 0x10100000L
// m_ssl->m_ssl->session->ciphers is not forward compatable,
// In future release of OpenSSL, it's not visible,
STACK_OF(SSL_CIPHER) * cStack = m_ssl->m_ssl->session->ciphers;