summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-01 18:54:30 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-01 20:15:43 +0200
commitec4229bc49a315f3f17664bb43e61d3b2e13fb87 (patch)
tree5a48c9f80e58e26b6fb6513a2a8a6720b5df265f
parent50799a721c7ddcf9475a1b79984ed64ddd7cdf57 (diff)
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/40641 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--desktop/source/minidump/minidump.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/minidump/minidump.cxx b/desktop/source/minidump/minidump.cxx
index e44fc4ccfb2f..ac63bd41096c 100644
--- a/desktop/source/minidump/minidump.cxx
+++ b/desktop/source/minidump/minidump.cxx
@@ -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_USERAGENT, kUserAgent);
+ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false);
// Set proxy information if necessary.
if (!proxy.empty())
curl_easy_setopt(curl, CURLOPT_PROXY, proxy.c_str());