Kaydet (Commit) ec4229bc authored tarafından Markus Mohrhard's avatar Markus Mohrhard

tdf#109347: don't verify SSL certificate for crashreport upload

Seems that on Windows we can not rely on the CA information to include
the necessary info to verify the connection to the server.

Change-Id: Ieed639c438f5a66e538d1126bb1e8ec1ea02b168
Reviewed-on: https://gerrit.libreoffice.org/40641Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 50799a72
...@@ -108,6 +108,7 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string& ...@@ -108,6 +108,7 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string&
curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
curl_easy_setopt(curl, CURLOPT_USERAGENT, kUserAgent); curl_easy_setopt(curl, CURLOPT_USERAGENT, kUserAgent);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false);
// Set proxy information if necessary. // Set proxy information if necessary.
if (!proxy.empty()) if (!proxy.empty())
curl_easy_setopt(curl, CURLOPT_PROXY, proxy.c_str()); curl_easy_setopt(curl, CURLOPT_PROXY, proxy.c_str());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment