Do not check for SSL handle validity in handshake() as it is initialized a few lines later.

This commit is contained in:
Vincent Richard 2014-04-04 13:22:54 +02:00
parent 8a6b959cf0
commit 4965674b35

View File

@ -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)