Files
brave-core/patches/net-http-transport_security_state.cc.patch
T

13 lines
653 B
Diff

diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
index 629e295d45f81267284b1f8332babdcbcc2466bd..900872b166b61a1499b6c78ffcc09a02ec107868 100644
--- a/net/http/transport_security_state.cc
+++ b/net/http/transport_security_state.cc
@@ -224,6 +224,7 @@ TransportSecurityState::TransportSecurityState(
// others don't end up with pins that cannot be easily updated.
#if !BUILDFLAG(GOOGLE_CHROME_BRANDING) || BUILDFLAG(IS_IOS)
enable_static_pins_ = false;
+ BRAVE_ENABLE_STATIC_PINS
#endif
// Check that there no invalid entries in the static HSTS bypass list.
for (auto& host : hsts_host_bypass_list) {