File cve-2024-5261.patch of Package libreoffice

commit bdb47881a214b659b6102c78e5e082197ecf15c7
Author: Thorsten Behrens <thorsten.behrens@allotropia.de>
Date:   Thu May 16 17:43:38 2024 +0200

    Revert "tdf#109347: don't verify SSL certificate for crashreport upload"
    
    With recent improvements in libcurl CA usage on Linux, this workaround
    is no longer needed. See also 11f439b861922b9286b2e47ed326f3508a48d44e
    
    This reverts commit ec4229bc49a315f3f17664bb43e61d3b2e13fb87.
    
    Change-Id: I09124691687297f3b6ae0b9ca64652809caf3a11
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167752
    Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>

diff --git a/desktop/source/minidump/minidump.cxx b/desktop/source/minidump/minidump.cxx
index 90d23f51acf3..6e0b0141869d 100644
--- a/desktop/source/minidump/minidump.cxx
+++ b/desktop/source/minidump/minidump.cxx
@@ -119,7 +119,6 @@ static bool uploadContent(std::map<std::string, std::string>& parameters, std::s
 
     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())
     {
openSUSE Build Service is sponsored by