diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2010-01-20 18:48:34 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2010-01-20 18:48:34 -0500 |
commit | b2d761b69f47435022b06159a11d86670c8ee8a3 (patch) | |
tree | 527dfaaae6bf2215111e6c1e7286e43002bcfc4f /indra/llmessage/llurlrequest.cpp | |
parent | e7bb883153d8daad68ef5ce5876309e8fa605284 (diff) | |
parent | fd069bd02a53d33775f552d5bc1b6f6ab21db77c (diff) |
Automated merge with 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, ""); } |