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
Moved ConnectionObject and subroutines that use it into defined(__APPLE__).
[xestiaab/.git]
/
source
/
carddav
/
carddav-sslverify.cpp
diff --git
a/source/carddav/carddav-sslverify.cpp
b/source/carddav/carddav-sslverify.cpp
index
3c34641
..
9969c43
100644
(file)
--- a/
source/carddav/carddav-sslverify.cpp
+++ b/
source/carddav/carddav-sslverify.cpp
@@
-74,6
+74,8
@@
CURLcode CardDAV::SSLVerifyTest(){
curl_easy_setopt(conn, CURLOPT_WRITEDATA, &PageData);
curl_easy_setopt(conn, CURLOPT_WRITEHEADER, &PageHeader);
curl_easy_setopt(conn, CURLOPT_WRITEDATA, &PageData);
curl_easy_setopt(conn, CURLOPT_WRITEHEADER, &PageHeader);
+ SetConnectionObject(conn);
+
conncode = (curl_easy_perform(conn));
// Check if the SSL certificate is valid or self-signed or some other
conncode = (curl_easy_perform(conn));
// Check if the SSL certificate is valid or self-signed or some other
@@
-101,6
+103,8
@@
CURLcode CardDAV::SSLVerifyTest(){
curl_easy_setopt(connssldata, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(connssldata, CURLOPT_SSL_VERIFYHOST, 0L);
curl_easy_setopt(connssldata, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(connssldata, CURLOPT_SSL_VERIFYHOST, 0L);
+ SetConnectionObject(connssldata);
+
CURLcode certfetchcode;
certfetchcode = (curl_easy_perform(connssldata));
CURLcode certfetchcode;
certfetchcode = (curl_easy_perform(connssldata));
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy