diff options
Diffstat (limited to 'src/net/smtp/SMTPTransport.cpp')
-rw-r--r-- | src/net/smtp/SMTPTransport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/smtp/SMTPTransport.cpp b/src/net/smtp/SMTPTransport.cpp index 64028d1c..e658ecb7 100644 --- a/src/net/smtp/SMTPTransport.cpp +++ b/src/net/smtp/SMTPTransport.cpp @@ -114,7 +114,7 @@ void SMTPTransport::connect() if (m_isSMTPS) // dedicated port/SMTPS { ref <tls::TLSSession> tlsSession = - vmime::create <tls::TLSSession>(getCertificateVerifier()); + tls::TLSSession::create(getCertificateVerifier()); ref <tls::TLSSocket> tlsSocket = tlsSession->getSocket(m_socket); @@ -463,7 +463,7 @@ void SMTPTransport::startTLS() throw exceptions::command_error("STARTTLS", resp->getText()); ref <tls::TLSSession> tlsSession = - vmime::create <tls::TLSSession>(getCertificateVerifier()); + tls::TLSSession::create(getCertificateVerifier()); ref <tls::TLSSocket> tlsSocket = tlsSession->getSocket(m_socket); |