From c2a4951f20c090700f2dc4149a935393ea1fb963 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Wed, 26 Oct 2011 21:35:19 +0200 Subject: [PATCH] Fix grid info fetch ignoring certificates --- indra/newview/hipporestrequest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/hipporestrequest.cpp b/indra/newview/hipporestrequest.cpp index 52adf6c39..8953dec87 100644 --- a/indra/newview/hipporestrequest.cpp +++ b/indra/newview/hipporestrequest.cpp @@ -327,6 +327,7 @@ int HippoRestRequest::getBlocking(const std::string &url, std::string *result) curl_easy_setopt(curlp, CURLOPT_NOSIGNAL, 1); // don't use SIGALRM for timeouts curl_easy_setopt(curlp, CURLOPT_TIMEOUT, 5); // seconds + curl_easy_setopt(curlp, CURLOPT_CAINFO, gDirUtilp->getCAFile().c_str()); curl_easy_setopt(curlp, CURLOPT_WRITEFUNCTION, curlWrite); curl_easy_setopt(curlp, CURLOPT_WRITEDATA, result);