aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/imap
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2012-11-03 09:27:12 +0100
committerVincent Richard <[email protected]>2012-11-03 09:27:12 +0100
commitbc63892291ecf245dd210e236ab14f12e31baef8 (patch)
tree031bc486b0cafc527f516e6890105521bc7f2afc /src/net/imap
parentMigrated build system to CMake. Conditional file compilation. Automatic selec... (diff)
downloadvmime-bc63892291ecf245dd210e236ab14f12e31baef8.tar.gz
vmime-bc63892291ecf245dd210e236ab14f12e31baef8.zip
OpenSSL support (thanks to Mehmet Bozkurt).
Diffstat (limited to 'src/net/imap')
-rw-r--r--src/net/imap/IMAPConnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp
index 9cb81d8c..6c8b400e 100644
--- a/src/net/imap/IMAPConnection.cpp
+++ b/src/net/imap/IMAPConnection.cpp
@@ -111,7 +111,7 @@ void IMAPConnection::connect()
if (store->isIMAPS()) // dedicated port/IMAPS
{
ref <tls::TLSSession> tlsSession =
- vmime::create <tls::TLSSession>(store->getCertificateVerifier());
+ tls::TLSSession::create(store->getCertificateVerifier());
ref <tls::TLSSocket> tlsSocket =
tlsSession->getSocket(m_socket);
@@ -460,7 +460,7 @@ void IMAPConnection::startTLS()
}
ref <tls::TLSSession> tlsSession =
- vmime::create <tls::TLSSession>(m_store.acquire()->getCertificateVerifier());
+ tls::TLSSession::create(m_store.acquire()->getCertificateVerifier());
ref <tls::TLSSocket> tlsSocket =
tlsSession->getSocket(m_socket);