From: Steve Brokenshire Date: Sat, 9 Jul 2016 09:58:53 +0000 (+0100) Subject: Added check to see if the SSL certificate information actually exists when running... X-Git-Tag: release-0.14~5 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=e6968c57878efdbc17f99b090a427308b67eeb24;p=xestiaab%2F.git Added check to see if the SSL certificate information actually exists when running XAB on Win32. --- diff --git a/source/frmMain.cpp b/source/frmMain.cpp index 0b1eb39..ac703d8 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -2595,7 +2595,7 @@ void frmMain::ShowSSLCertificates( wxCommandEvent &event ){ // Setup and display the form. - if (SSLCertificateIter->second->pCertInfo == NULL){ + if (SSLCertificateIter == AccountCertificateData.end() || SSLCertificateIter->second->pCertInfo == NULL){ wxMessageBox("No certificate information is available due to invalid connection details, connection being in progress or invalid certificate data received.");