From ff2744d3ead357357b5d9ad9f3d4071e7e9f0155 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 9 Mar 2016 22:46:50 +0000 Subject: [PATCH] Added comments to describe functions in frmSSLCertificate --- source/frmSSLCertificate.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/frmSSLCertificate.cpp b/source/frmSSLCertificate.cpp index e61c443..c69bff1 100644 --- a/source/frmSSLCertificate.cpp +++ b/source/frmSSLCertificate.cpp @@ -162,6 +162,8 @@ void frmSSLCertificate::SetupCerts(SSLCertCollection SSLCertsInc) std::map frmSSLCertificate::GetSubjectData(wxString SubjectData) { + // Get the subject data and put into a map + std::map SubjectDataFinal; wxStringTokenizer SubjectDataToken(SubjectData, wxT(";")); wxString StringData; @@ -244,15 +246,24 @@ void frmSSLCertificate::ViewCertificate( wxCommandEvent& event ) void frmSSLCertificate::CloseWindow( wxCommandEvent& event ) { + + // Close this window. + this->Close(); } void frmSSLCertificate::StartCertFrom(int StartFromInc){ + + // Start the certificate chain from the specified + // certificate number. + StartFrom = StartFromInc; } void frmSSLCertificate::CheckCertificate( wxTreeEvent& event ){ + // Check the certificate. + wxTreeItemId SelectedChild = treHierarchy->GetSelection(); SSLCertItemData *ActiveSSLData = (SSLCertItemData*)treHierarchy->GetItemData(SelectedChild); -- 2.39.2