From: Steve Brokenshire Date: Wed, 9 Mar 2016 22:46:50 +0000 (+0000) Subject: Added comments to describe functions in frmSSLCertificate X-Git-Tag: release-0.11~165 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=ff2744d3ead357357b5d9ad9f3d4071e7e9f0155 Added comments to describe functions in frmSSLCertificate --- 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);