diff --git a/src/vmime/net/smtp/SMTPConnection.cpp b/src/vmime/net/smtp/SMTPConnection.cpp index 574e5354..d7c04345 100644 --- a/src/vmime/net/smtp/SMTPConnection.cpp +++ b/src/vmime/net/smtp/SMTPConnection.cpp @@ -487,7 +487,7 @@ void SMTPConnection::startTLS() shared_ptr tlsSocket = tlsSession->getSocket(m_socket); - tlsSocket->handshake(m_timeoutHandler); + tlsSocket->handshake(); m_socket = tlsSocket;