diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-01-21 15:35:40 +0000 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-01-21 15:35:40 +0000 |
commit | 435dcdb3e307f70b5d0be801a98fb05cb1c87fcf (patch) | |
tree | 1a5bc4c64c1eb70e65225b30694dc34718aeb294 /indra/llmessage/llurlrequest.cpp | |
parent | bf1219eb59a9dbaebd3e2052963ded76bfcb0b21 (diff) | |
parent | 1a927f38d2266220f4000f35f64328476f9ffde6 (diff) |
Merged from ssh://hg.lindenlab.com/viewer/viewer-2-0
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | indra/llmessage/llurlrequest.cpp | 1 |
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, ""); } |