Skip to content

Commit

Permalink
[UWP] [Xbox] Disabled CURLOPT_SSL_VERIFYPEER due it's not working
Browse files Browse the repository at this point in the history
  • Loading branch information
thexai committed May 1, 2021
1 parent f8146a7 commit 0ee3806
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/filesystem/CurlFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0ee3806

Please sign in to comment.