From e6968c57878efdbc17f99b090a427308b67eeb24 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 9 Jul 2016 10:58:53 +0100 Subject: [PATCH] Added check to see if the SSL certificate information actually exists when running XAB on Win32. --- source/frmMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); -- 2.39.5