fix build for libressl. thanks to truatpasteurdotfr for the patch
This commit is contained in:
parent
60d121aed3
commit
b994c94a90
|
@ -814,7 +814,7 @@ SecureSocket::showSecureCipherInfo()
|
||||||
showCipherStackDesc(sStack);
|
showCipherStackDesc(sStack);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
// m_ssl->m_ssl->session->ciphers is not forward compatable,
|
// m_ssl->m_ssl->session->ciphers is not forward compatable,
|
||||||
// In future release of OpenSSL, it's not visible,
|
// In future release of OpenSSL, it's not visible,
|
||||||
STACK_OF(SSL_CIPHER) * cStack = m_ssl->m_ssl->session->ciphers;
|
STACK_OF(SSL_CIPHER) * cStack = m_ssl->m_ssl->session->ciphers;
|
||||||
|
|
Loading…
Reference in New Issue