#if defined(__WIN32__)
#include <cryptuiapi.h>
+#include "common/win32ssl.h"
#endif
#include "carddav/carddav.h"
#include "common/dirs.h"
#include "common/svrblist.h"
-#include "common/win32ssl.h"
#include "frmInvalidSSLCertificate.h"
frmNewAccount::frmNewAccount( wxWindow* parent )
std::thread ConnTest(&CardDAV::Connect, &CardDAVConn);
ConnTest.join();
-
+
+#if defined(__WIN32__)
if (ServerResult == FALSE && ModifiedCertificateData == FALSE){
+#else
+ if (ServerResult == FALSE){
+#endif
lblServerConnResult->SetLabel(_("Failed"));
lblConnectionResultText->SetLabel(_("An error occured whilst connnecting: ") + CardDAVConn.GetErrorMessage());