From bc63892291ecf245dd210e236ab14f12e31baef8 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 3 Nov 2012 09:27:12 +0100 Subject: OpenSSL support (thanks to Mehmet Bozkurt). --- src/net/imap/IMAPConnection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/imap') 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 tlsSession = - vmime::create (store->getCertificateVerifier()); + tls::TLSSession::create(store->getCertificateVerifier()); ref tlsSocket = tlsSession->getSocket(m_socket); @@ -460,7 +460,7 @@ void IMAPConnection::startTLS() } ref tlsSession = - vmime::create (m_store.acquire()->getCertificateVerifier()); + tls::TLSSession::create(m_store.acquire()->getCertificateVerifier()); ref tlsSocket = tlsSession->getSocket(m_socket); -- cgit