Do not check for SSL handle validity in handshake() as it is initialized a few lines later.
This commit is contained in:
parent
8a6b959cf0
commit
4965674b35
@ -347,9 +347,6 @@ size_t TLSSocket_OpenSSL::sendRawNonBlocking(const byte_t* buffer, const size_t
|
||||
|
||||
void TLSSocket_OpenSSL::handshake()
|
||||
{
|
||||
if (!m_ssl)
|
||||
throw exceptions::socket_not_connected_exception();
|
||||
|
||||
shared_ptr <timeoutHandler> toHandler = m_wrapped->getTimeoutHandler();
|
||||
|
||||
if (toHandler)
|
||||
|
Loading…
Reference in New Issue
Block a user