mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
#3563: Remove support for OpenSSL < 1.0
This commit is contained in:
@@ -157,12 +157,10 @@ void SecureSocketImpl::connectSSL(bool performHandshake)
|
||||
}
|
||||
SSL_set_bio(_pSSL, pBIO, pBIO);
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x0908060L && !defined(OPENSSL_NO_TLSEXT)
|
||||
if (!_peerHostName.empty())
|
||||
{
|
||||
SSL_set_tlsext_host_name(_pSSL, _peerHostName.c_str());
|
||||
}
|
||||
#endif
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10001000L
|
||||
if(_pContext->ocspStaplingResponseVerificationEnabled())
|
||||
|
||||
Reference in New Issue
Block a user