[Libreoffice-commits] core.git: desktop/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Aug 1 18:16:28 UTC 2017


 desktop/source/minidump/minidump.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ec4229bc49a315f3f17664bb43e61d3b2e13fb87
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Tue Aug 1 18:54:30 2017 +0200

    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 at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

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());


More information about the Libreoffice-commits mailing list