aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/pop/MCPOPSession.cc
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-07-26 00:32:06 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-07-26 00:32:31 -0700
commit3cb43058be809bd2d45fdb52bc8049800e982c24 (patch)
treed8b9b6dfb188e677d75523b6baf1514d6d7df28a /src/core/pop/MCPOPSession.cc
parentc559c8834773c4d6d78cb0cccc968d2a3477f67a (diff)
Check certificate is implemented for Mac/iOS (Fixed #152)
Diffstat (limited to 'src/core/pop/MCPOPSession.cc')
-rw-r--r--src/core/pop/MCPOPSession.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/pop/MCPOPSession.cc b/src/core/pop/MCPOPSession.cc
index 42a8d585..393ec516 100644
--- a/src/core/pop/MCPOPSession.cc
+++ b/src/core/pop/MCPOPSession.cc
@@ -7,6 +7,7 @@
#include "MCPOPProgressCallback.h"
#include "MCMessageHeader.h"
#include "MCConnectionLoggerUtils.h"
+#include "MCCertificateUtils.h"
using namespace mailcore;
@@ -129,8 +130,7 @@ bool POPSession::isCheckCertificateEnabled()
bool POPSession::checkCertificate()
{
- //TODO check certificate
- return true;
+ return mailcore::checkCertificate(mPop->pop3_stream, hostname());
}
void POPSession::bodyProgress(unsigned int current, unsigned int maximum)