summaryrefslogtreecommitdiff
path: root/indra/llmessage/llurlrequest.cpp
diff options
context:
space:
mode:
authorYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-21 15:19:27 +0200
committerYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-21 15:19:27 +0200
commita28be8aa2dd1a1440724bd72fbabc896739719dd (patch)
tree5d27c9e7e83423d3c14ba48802114b6e0a06a5ac /indra/llmessage/llurlrequest.cpp
parent89449c3f389a20944a6161a22c3048a0cde2e7da (diff)
parent6e74f825be5f03ddf958d0e0ace2998c90fcf65e (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r--indra/llmessage/llurlrequest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp
index 81b7761ed5..4e7ceff984 100644
--- a/indra/llmessage/llurlrequest.cpp
+++ b/indra/llmessage/llurlrequest.cpp
@@ -163,6 +163,7 @@ void LLURLRequest::setBodyLimit(U32 size)
void LLURLRequest::checkRootCertificate(bool check)
{
mDetail->mCurlRequest->setopt(CURLOPT_SSL_VERIFYPEER, (check? TRUE : FALSE));
+ mDetail->mCurlRequest->setopt(CURLOPT_SSL_VERIFYHOST, (check? 2 : 0));
mDetail->mCurlRequest->setoptString(CURLOPT_ENCODING, "");
}