From ec4229bc49a315f3f17664bb43e61d3b2e13fb87 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 1 Aug 2017 18:54:30 +0200 Subject: 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 Reviewed-by: Markus Mohrhard --- desktop/source/minidump/minidump.cxx | 1 + 1 file changed, 1 insertion(+) 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& 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()); -- cgit v1.2.3