mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
#3563: Remove support for OpenSSL < 1.0
This commit is contained in:
@@ -812,7 +812,7 @@ void Context::initECDH(const std::string& curve)
|
||||
throw SSLContextException("Cannot set ECDH groups", groups);
|
||||
}
|
||||
SSL_CTX_set_options(_pSSLContext, SSL_OP_SINGLE_ECDH_USE);
|
||||
#elif OPENSSL_VERSION_NUMBER >= 0x0090800fL
|
||||
#else
|
||||
int nid = 0;
|
||||
if (!curve.empty())
|
||||
{
|
||||
|
||||
@@ -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