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
CardDAV: Set CURLOPT_SSL_VERIFYSTATUS to 0 when using certificate file
[xestiaab/.git]
/
source
/
carddav2
/
carddav2.cpp
diff --git
a/source/carddav2/carddav2.cpp
b/source/carddav2/carddav2.cpp
index
cdec0c5
..
dd70bab
100644
(file)
--- a/
source/carddav2/carddav2.cpp
+++ b/
source/carddav2/carddav2.cpp
@@
-1491,9
+1491,12
@@
void CardDAV2::SetupDefaultParametersSSL(bool DoAuthentication){
string CertificateFilename = GetAccountDir(ServerAccount, true);
if (wxFile::Exists(CertificateFilename)){
string CertificateFilename = GetAccountDir(ServerAccount, true);
if (wxFile::Exists(CertificateFilename)){
-
+
curl_easy_setopt(ConnectionSession, CURLOPT_CAINFO, CertificateFilename.c_str());
curl_easy_setopt(ConnectionSession, CURLOPT_CAINFO, CertificateFilename.c_str());
+ // Force CURLOPT_SSL_VERIFYSTATUS to 0.
+ curl_easy_setopt(ConnectionSession, CURLOPT_SSL_VERIFYSTATUS, 0L);
+
}
}
}
}
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy