1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-03-28 14:56:24 +01:00

bypass ssl verification in steam_http when downloading requests

This commit is contained in:
a 2024-08-16 00:55:59 +03:00
parent ed1eec0983
commit d7fb8403d1

View file

@ -308,6 +308,7 @@ void Steam_HTTP::online_http_request(Steam_Http_Request *request, SteamAPICall_t
curl_easy_setopt(chttp, CURLOPT_TIMEOUT, request->timeout_sec);
curl_easy_setopt(chttp, CURLOPT_NOSIGNAL, 1L);
curl_easy_setopt(chttp, CURLOPT_USE_SSL, request->requires_valid_ssl ? CURLUSESSL_TRY : CURLUSESSL_NONE);
curl_easy_setopt(chttp, CURLOPT_SSL_VERIFYPEER, 0L);
// post data, or get params
std::string post_data{};