Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Win32 Support: Display certificate information and let the user make a decision if...
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 14 May 2016 08:53:06 +0000 (09:53 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 14 May 2016 08:53:06 +0000 (09:53 +0100)
source/actmgr/frmActivityMgr.cpp

index 9bef583..27960b7 100644 (file)
@@ -1052,6 +1052,16 @@ void frmActivityMgr::ProcessTasksThread()
                                                                         frmMainPtrGet->UpdateSSLAccountStatus(AccountID, 0, ConnHandle.GetTrustObject());
                                                                         
                                                                 }
+
+#elif defined(__WIN32__)
+
+                                                               BOOL ModifiedCertificateData;
+                                                               CRYPTUI_VIEWCERTIFICATE_STRUCTW CertificateData = BuildCertificateData(&ConnHandle, (HWND)frmMainPtrGet->GetHandle());
+
+                                                               if (!CryptUIDlgViewCertificate(&CertificateData, &ModifiedCertificateData)){
+                                                                       wxMessageBox(_("An error occured while trying to open the certificate dialog."), _("Error opening Certificate Information dialog"));
+                                                               }
+
 #else
                                 
                                                                // Setup the data to be sent in the wxPostEvent command.
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy