diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-12-11 17:12:15 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-12-11 17:12:15 -0800 |
commit | 2b2ed50c306321cfdb445f1458131503eed474cb (patch) | |
tree | 4fbac4b5068c4da3b12e2257ad30f3d57aefea55 /src | |
parent | ef881d01ab424ec4c0425dea20b35ae390c27155 (diff) |
Fixed build on win32
Diffstat (limited to 'src')
-rw-r--r-- | src/core/security/MCCertificateUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/security/MCCertificateUtils.cpp b/src/core/security/MCCertificateUtils.cpp index e66afe66..81f944ab 100644 --- a/src/core/security/MCCertificateUtils.cpp +++ b/src/core/security/MCCertificateUtils.cpp @@ -101,9 +101,11 @@ err: 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); |