From 26b61e8b06554a5046cf7737a6a4d9830749fd6f Mon Sep 17 00:00:00 2001 From: thexai <58434170+thexai@users.noreply.github.com> Date: Sat, 1 May 2021 08:59:23 +0200 Subject: [PATCH] [UWP] [Xbox] Disabled CURLOPT_SSL_VERIFYPEER due it's not working --- xbmc/filesystem/CurlFile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp index 5cbbcd5d3b218..4cf02687ed419 100644 --- a/xbmc/filesystem/CurlFile.cpp +++ b/xbmc/filesystem/CurlFile.cpp @@ -523,6 +523,10 @@ void CCurlFile::SetCommonOptions(CReadState* state, bool failOnError /* = true * if (!m_verifyPeer) g_curlInterface.easy_setopt(h, CURLOPT_SSL_VERIFYPEER, 0); +#ifdef TARGET_WINDOWS_STORE // It is not working in UWP ==> OpenSSL bug? + g_curlInterface.easy_setopt(h, CURLOPT_SSL_VERIFYPEER, 0); +#endif // TARGET_WINDOWS_STORE + g_curlInterface.easy_setopt(m_state->m_easyHandle, CURLOPT_URL, m_url.c_str()); g_curlInterface.easy_setopt(m_state->m_easyHandle, CURLOPT_TRANSFERTEXT, CURL_OFF);