From: cantor Date: Fri, 14 Mar 2008 19:55:19 +0000 (+0000) Subject: Switch to TLS. X-Git-Tag: 1.4.1~351 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fxmltooling.git;a=commitdiff_plain;h=bee3c27c90c54165720cf7aa651724f4e64bd2c1 Switch to TLS. git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@477 de75baf8-a10c-0410-a50a-987c0e22f00f --- diff --git a/xmltooling/util/CurlURLInputStream.cpp b/xmltooling/util/CurlURLInputStream.cpp index fc0b359..03d86f2 100644 --- a/xmltooling/util/CurlURLInputStream.cpp +++ b/xmltooling/util/CurlURLInputStream.cpp @@ -78,7 +78,7 @@ 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_SSLv3); + 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);