From 9c0049cfae49c8e4ddef9125a69db2ad134c10c6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 13:48:25 +0200 Subject: Merging upstream version 4:24.2.4. Signed-off-by: Daniel Baumann --- ucb/source/ucp/webdav-curl/CurlSession.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/webdav-curl/CurlSession.cxx b/ucb/source/ucp/webdav-curl/CurlSession.cxx index 2f104d5388..bfd0825d8c 100644 --- a/ucb/source/ucp/webdav-curl/CurlSession.cxx +++ b/ucb/source/ucp/webdav-curl/CurlSession.cxx @@ -15,7 +15,6 @@ #include "webdavresponseparser.hxx" #include -#include #include #include @@ -689,14 +688,6 @@ CurlSession::CurlSession(uno::Reference xContext, rc = curl_easy_setopt(m_pCurl.get(), CURLOPT_FORBID_REUSE, 1L); assert(rc == CURLE_OK); } - // If WOPI-like host has self-signed certificate, it's not possible to insert images - // to the document, so here is a compromise. The user has already accepted the self - // signed certificate in the browser, when we get here. - if (comphelper::LibreOfficeKit::isActive()) - { - rc = curl_easy_setopt(m_pCurl.get(), CURLOPT_SSL_VERIFYPEER, 0L); - assert(rc == CURLE_OK); - } } CurlSession::~CurlSession() {} -- cgit v1.2.3