Null out curl CA list to prevent misleading access to it.
authorScott Cantor <cantor.2@osu.edu>
Tue, 8 Dec 2009 02:30:25 +0000 (02:30 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 8 Dec 2009 02:30:25 +0000 (02:30 +0000)
xmltooling/util/CurlURLInputStream.cpp

index 2dbd77b..1e21ea8 100644 (file)
@@ -171,6 +171,7 @@ void CurlURLInputStream::init(const DOMElement* e)
     curl_easy_setopt(fEasy, CURLOPT_USERPWD,NULL);
     curl_easy_setopt(fEasy, CURLOPT_SSL_VERIFYHOST, 2);
     curl_easy_setopt(fEasy, CURLOPT_SSL_VERIFYPEER, 0);
+    curl_easy_setopt(fEasy, CURLOPT_CAINFO, NULL);
     curl_easy_setopt(fEasy, CURLOPT_SSL_CIPHER_LIST, "ALL:!aNULL:!LOW:!EXPORT:!SSLv2");
     curl_easy_setopt(fEasy, CURLOPT_NOPROGRESS, 1);
     curl_easy_setopt(fEasy, CURLOPT_NOSIGNAL, 1);