X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmSSLCertificate.cpp;h=c69bff161d954dd18561cb0d832c508963e9f43f;hb=ff2744d3ead357357b5d9ad9f3d4071e7e9f0155;hp=e61c443b1cddcb0a93ef2517b6b46544d04a0124;hpb=a73019906500e3a0fc306a61e4b7975f79725866;p=xestiaab%2F.git 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);