diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-01-21 09:55:17 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-01-21 09:55:17 -0500 |
commit | 4277d6b576836bd722d5100b709ebf923640109e (patch) | |
tree | 9f738d428077f0b94786cc422af8b426c4ba2bcd /indra/llmessage/llurlrequest.cpp | |
parent | 83670fc520cf8f4f78446f853cae584c2970f4fc (diff) | |
parent | 1a927f38d2266220f4000f35f64328476f9ffde6 (diff) |
merge
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, ""); } |