diff options
| author | Vincent Richard <[email protected]> | 2012-11-03 08:27:12 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2012-11-03 08:27:12 +0000 |
| commit | bc63892291ecf245dd210e236ab14f12e31baef8 (patch) | |
| tree | 031bc486b0cafc527f516e6890105521bc7f2afc /src/net/smtp/SMTPTransport.cpp | |
| parent | Migrated build system to CMake. Conditional file compilation. Automatic selec... (diff) | |
| download | vmime-bc63892291ecf245dd210e236ab14f12e31baef8.tar.gz vmime-bc63892291ecf245dd210e236ab14f12e31baef8.zip | |
OpenSSL support (thanks to Mehmet Bozkurt).
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); |
