From: Steve Brokenshire Date: Sun, 13 Mar 2016 09:20:11 +0000 (+0000) Subject: Removed the commented out lines in carddav/carddav-sslverify.cpp X-Git-Tag: release-0.11~135 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=c99809fb6861129ba618e4f1e504adcd2dd52f0e;p=xestiaab%2F.git Removed the commented out lines in carddav/carddav-sslverify.cpp --- diff --git a/source/carddav/carddav-sslverify.cpp b/source/carddav/carddav-sslverify.cpp index beac074..3c34641 100644 --- a/source/carddav/carddav-sslverify.cpp +++ b/source/carddav/carddav-sslverify.cpp @@ -49,19 +49,6 @@ CURLcode CardDAV::SSLVerifyTest(){ conn = curl_easy_init(); - /*struct CardDAVCURLPasser { - - CardDAV *Data; - bool HeaderMode = TRUE; - - } CardDAVHeader, CardDAVFooter; - - CardDAVHeader.Data = this; - CardDAVHeader.HeaderMode = TRUE; - - CardDAVFooter.Data = this; - CardDAVFooter.HeaderMode = FALSE;*/ - wxString Data1; wxString Data2; @@ -82,8 +69,6 @@ CURLcode CardDAV::SSLVerifyTest(){ curl_easy_setopt(conn, CURLOPT_URL, (const char*)ServerAddressSSL.mb_str(wxConvUTF8)); curl_easy_setopt(conn, CURLOPT_CERTINFO, 1); curl_easy_setopt(conn, CURLOPT_VERBOSE, 1L); - //curl_easy_setopt(conn, CURLOPT_SSL_VERIFYPEER, FALSE); - //curl_easy_setopt(conn, CURLOPT_SSL_VERIFYHOST, FALSE); curl_easy_setopt(conn, CURLOPT_ERRORBUFFER, curlerrbuffer); curl_easy_setopt(conn, CURLOPT_WRITEFUNCTION, WritebackFunc); curl_easy_setopt(conn, CURLOPT_WRITEDATA, &PageData);