Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ void HTTPRequest::PlatformStartRequest()
curl_easy_setopt(m_pCURL, CURLOPT_SSL_VERIFYHOST, 0);
#endif

// Explicitly set supported elliptic curves for Schannel to prevent division by zero
// in CTlsExtServer::ParseEllipticCurveExtension when using libcurl 8.6.0 with Schannel
curl_easy_setopt(m_pCURL, CURLOPT_SSL_EC_CURVES, "X25519:P-256:P-384:P-521");


}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ void WebSocket::Connect(const char* url, bool bIsReconnect, std::function<void(v
curl_easy_setopt(m_pCurlWS, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(m_pCurlWS, CURLOPT_SSL_VERIFYHOST, 0);
#endif

// Explicitly set supported elliptic curves for Schannel to prevent division by zero
// in CTlsExtServer::ParseEllipticCurveExtension when using libcurl 8.6.0 with Schannel
curl_easy_setopt(m_pCurlWS, CURLOPT_SSL_EC_CURVES, "X25519:P-256:P-384:P-521");



// ws needs auth
Expand Down Expand Up @@ -1361,4 +1366,4 @@ void NGMP_OnlineServices_RoomsInterface::OnRosterUpdated(std::vector<std::string
{
m_RosterNeedsRefreshCallback();
}
}
}
Expand Down
Loading