Don't bother setting an SSL version, we're not trusting it anyway.
authorScott Cantor <cantor.2@osu.edu>
Wed, 2 Apr 2008 20:06:33 +0000 (20:06 +0000)
committerScott Cantor <cantor.2@osu.edu>
Wed, 2 Apr 2008 20:06:33 +0000 (20:06 +0000)
xmltooling/util/CurlURLInputStream.cpp

index 03d86f2..ccf66a4 100644 (file)
@@ -78,7 +78,6 @@ CurlURLInputStream::CurlURLInputStream(const XMLURL& urlSource, const XMLNetHTTP
        curl_easy_setopt(fEasy, CURLOPT_WRITEFUNCTION, staticWriteCallback);    // Our static write function
     curl_easy_setopt(fEasy, CURLOPT_CONNECTTIMEOUT, 30);
     curl_easy_setopt(fEasy, CURLOPT_TIMEOUT, 60);
-    curl_easy_setopt(fEasy, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
     curl_easy_setopt(fEasy, CURLOPT_SSL_VERIFYHOST, 0);
     curl_easy_setopt(fEasy, CURLOPT_SSL_VERIFYPEER, 0);
     curl_easy_setopt(fEasy, CURLOPT_NOPROGRESS, 1);