diff options
author | 2013-07-26 00:32:06 -0700 | |
---|---|---|
committer | 2013-07-26 00:32:31 -0700 | |
commit | 3cb43058be809bd2d45fdb52bc8049800e982c24 (patch) | |
tree | d8b9b6dfb188e677d75523b6baf1514d6d7df28a /src/core/pop/MCPOPSession.cc | |
parent | c559c8834773c4d6d78cb0cccc968d2a3477f67a (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.cc | 4 |
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) |