Skip to content

Commit

Permalink
Fixed build on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhvh committed Dec 12, 2014
1 parent ef881d0 commit 2b2ed50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/security/MCCertificateUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ bool mailcore::checkCertificate(mailstream * stream, String * hostname)
X509_STORE * store = NULL;
X509_STORE_CTX * storectx = NULL;
STACK_OF(X509) * certificates = NULL;
#if defined(ANDROID) || defined(__ANDROID__)
DIR * dir = NULL;
struct dirent * ent = NULL;
FILE * f = NULL;
#endif
int status;

carray * cCerts = mailstream_get_certificate_chain(stream);
Expand Down

0 comments on commit 2b2ed50

Please sign in to comment.