diff --git a/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp b/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp index a716f5b2..7ead54b9 100644 --- a/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp +++ b/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp @@ -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 toHandler = m_wrapped->getTimeoutHandler(); if (toHandler)