#if defined(__APPLE__)
+#elif defined(__WIN32__)
+
+void frmMain::UpdateSSLAccountStatus(int AccountID, int SSLStatus, CERT_CONTEXT CertificateContext){
+
+ // Delete existing data.
+
+ AccountCertificateData.erase(AccountID);
+ AccountSSLResult.erase(AccountID);
+
+ // Insert new data.
+
+ AccountCertificateData.insert(std::make_pair(AccountID, CertificateContext));
+ AccountSSLResult.insert(std::make_pair(AccountID, SSLStatus));
+
+}
+
#else
void frmMain::UpdateSSLAccountStatus(int AccountID, int SSLStatus, SSLCertCollection SSLCertInc){
#if defined(__APPLE__)
#import <Foundation/Foundation.h>
#import <SecurityInterface/SFCertificateTrustPanel.h>
+#elif defined(__WIN32__)
+#include "common/win32ssl.h"
#endif
#include "common/timers.h"
std::map<int, wxString> AccountAccDirList;
#if defined(__APPLE__)
std::map<int, SecTrustRef> AccountTrustData;
+#elif defined(__WIN32__)
+ std::map<int, CERT_CONTEXT> AccountCertificateData;
#else
std::map<int, SSLCertCollection> AccountSSLData;
#endif
XABViewMode GetViewMode();
#if defined(__APPLE__)
void UpdateSSLAccountStatus(int AccountID, int SSLStatus, SecTrustRef SecurityTrustObject);
+#elif defined(__WIN32__)
+ void UpdateSSLAccountStatus(int AccountID, int SSLStatus, CERT_CONTEXT CertificateContext);
#else
void UpdateSSLAccountStatus(int AccountID, int SSLStatus, SSLCertCollection SSLCertInc);
#endif