mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Fix validation of non-pinned trusted TLS certificates
This commit is contained in:
parent
9255884af4
commit
be7b87797b
2
http.cpp
2
http.cpp
@ -142,7 +142,7 @@ void MoonlightInstance::NvHTTPRequest(int32_t /*result*/, int32_t callbackId, pp
|
|||||||
goto clean_data;
|
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) {
|
if (err) {
|
||||||
pp::VarDictionary ret;
|
pp::VarDictionary ret;
|
||||||
ret.Set("callbackId", pp::Var(callbackId));
|
ret.Set("callbackId", pp::Var(callbackId));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user