From d7fb8403d1050582a251868126429bf84003802e Mon Sep 17 00:00:00 2001 From: a Date: Fri, 16 Aug 2024 00:55:59 +0300 Subject: [PATCH] bypass ssl verification in steam_http when downloading requests --- dll/steam_http.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dll/steam_http.cpp b/dll/steam_http.cpp index 83d0e329..5210d1a6 100644 --- a/dll/steam_http.cpp +++ b/dll/steam_http.cpp @@ -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{};