diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:51:13 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:51:13 +0000 |
commit | e259d488cd6b93b27831289bd6a3bc0b40758c98 (patch) | |
tree | 63e141abd231a2ada66ba777c3857854aa7ac134 /net | |
parent | 01fbb66d84a5c0aefc225a2066bdce31b76b0fd3 (diff) | |
download | chromium_src-e259d488cd6b93b27831289bd6a3bc0b40758c98.zip chromium_src-e259d488cd6b93b27831289bd6a3bc0b40758c98.tar.gz chromium_src-e259d488cd6b93b27831289bd6a3bc0b40758c98.tar.bz2 |
net: add lists.mayfirst.org to HSTS preloaded.
Requested by: Jamie McClelland
BUG=none
TEST=net_unittests
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/transport_security_state.cc | 1 | ||||
-rw-r--r-- | net/base/transport_security_state_unittest.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/base/transport_security_state.cc b/net/base/transport_security_state.cc index 345aa69..258d59f 100644 --- a/net/base/transport_security_state.cc +++ b/net/base/transport_security_state.cc @@ -434,6 +434,7 @@ bool TransportSecurityState::IsPreloadedSTS( {22, false, "\007members\010mayfirst\003org"}, {22, false, "\007support\010mayfirst\003org"}, {17, false, "\002id\010mayfirst\003org"}, + {20, false, "\005lists\010mayfirst\003org"}, }; static const size_t kNumPreloadedSTS = ARRAYSIZE_UNSAFE(kPreloadedSTS); diff --git a/net/base/transport_security_state_unittest.cc b/net/base/transport_security_state_unittest.cc index af4d422..3364bf1 100644 --- a/net/base/transport_security_state_unittest.cc +++ b/net/base/transport_security_state_unittest.cc @@ -364,6 +364,7 @@ TEST_F(TransportSecurityStateTest, Preloaded) { EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "members.mayfirst.org")); EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "support.mayfirst.org")); EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "id.mayfirst.org")); + EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "lists.mayfirst.org")); EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "www.mayfirst.org")); } |