mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-02-16 10:41:03 +00:00
Fix validation of non-pinned trusted TLS certificates
This commit is contained in:
2
http.cpp
2
http.cpp
@@ -142,7 +142,7 @@ void MoonlightInstance::NvHTTPRequest(int32_t /*result*/, int32_t callbackId, pp
|
||||
goto clean_data;
|
||||
}
|
||||
|
||||
err = http_request(url.c_str(), ppkstr.c_str(), data);
|
||||
err = http_request(url.c_str(), ppkstr.empty() ? NULL : ppkstr.c_str(), data);
|
||||
if (err) {
|
||||
pp::VarDictionary ret;
|
||||
ret.Set("callbackId", pp::Var(callbackId));
|
||||
|
||||
Reference in New Issue
Block a user