diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2010-01-20 18:21:03 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2010-01-20 18:21:03 -0500 |
commit | fd069bd02a53d33775f552d5bc1b6f6ab21db77c (patch) | |
tree | c7cf2d06370d97b72b8d5c1f736102be5d76ceba /indra/llmessage/llurlrequest.cpp | |
parent | 56f97bce04c6b14460aba207108b06a67040c4d9 (diff) | |
parent | a0700b6a74e928277d303a026c5c5748454b33ca (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, ""); } |