From a7e2be8bb8b601273d2441c6075727cbec0b85de Mon Sep 17 00:00:00 2001 From: cantor Date: Wed, 4 Feb 2009 20:11:23 +0000 Subject: [PATCH] Wrong setting when verifyHost is false. git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@560 de75baf8-a10c-0410-a50a-987c0e22f00f --- 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