Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced CERT_CONTEXT with PCCERT_CONTEXT for the frmMain::UpdateSSLAccountStatus...
[xestiaab/.git]
/
source
/
frmMain.cpp
diff --git
a/source/frmMain.cpp
b/source/frmMain.cpp
index
9685929
..
026b9e9
100644
(file)
--- a/
source/frmMain.cpp
+++ b/
source/frmMain.cpp
@@
-2664,10
+2664,16
@@
void frmMain::ResumeAllTimers(){
#elif defined(__WIN32__)
#elif defined(__WIN32__)
-void frmMain::UpdateSSLAccountStatus(int AccountID, int SSLStatus, CERT_CONTEXT CertificateContext){
+void frmMain::UpdateSSLAccountStatus(int AccountID, int SSLStatus,
PC
CERT_CONTEXT CertificateContext){
// Delete existing data.
// Delete existing data.
+ std::map<int, PCCERT_CONTEXT>::iterator CertificateIter = AccountCertificateData.find(AccountID);
+
+ if (CertificateIter != AccountCertificateData.end()){
+ CertFreeCertificateContext(CertificateIter->second);
+ }
+
AccountCertificateData.erase(AccountID);
AccountSSLResult.erase(AccountID);
AccountCertificateData.erase(AccountID);
AccountSSLResult.erase(AccountID);
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy