From a84e832015cad3cffa075b8ff9d4f5bb37c1b42b Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 4 Feb 2009 20:11:23 +0000 Subject: [PATCH] Wrong setting when verifyHost is false. --- xmltooling/util/CurlURLInputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmltooling/util/CurlURLInputStream.cpp b/xmltooling/util/CurlURLInputStream.cpp index 59ad097..7b84e91 100644 --- a/xmltooling/util/CurlURLInputStream.cpp +++ b/xmltooling/util/CurlURLInputStream.cpp @@ -166,7 +166,7 @@ void CurlURLInputStream::init(const DOMElement* e) if (e) { const XMLCh* flag = e->getAttributeNS(NULL, verifyHost); if (flag && (*flag == chLatin_f || *flag == chDigit_0)) - curl_easy_setopt(fEasy, CURLOPT_SSL_VERIFYHOST, 2); + curl_easy_setopt(fEasy, CURLOPT_SSL_VERIFYHOST, 0); // Process TransportOption elements. bool success; -- 2.1.4