Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 1682623002: Disable the TLS version fallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: atwilson comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 6817c64effadeedef78139e1ed77c65f9fed9c6f..48373194ea545e0b2fed6bf0d5c9bc1ddf22b67a 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -2730,12 +2730,12 @@ uint16_t GetSSLVersionFallbackMin(Profile* profile) {
IN_PROC_BROWSER_TEST_F(PolicyTest, SSLVersionFallbackMin) {
PrefService* prefs = g_browser_process->local_state();
- const std::string new_value("tls1.2");
+ const std::string new_value("tls1.1");
const std::string default_value(
prefs->GetString(ssl_config::prefs::kSSLVersionFallbackMin));
EXPECT_NE(default_value, new_value);
- EXPECT_NE(net::SSL_PROTOCOL_VERSION_TLS1_2,
+ EXPECT_EQ(net::SSL_PROTOCOL_VERSION_TLS1_2,
GetSSLVersionFallbackMin(browser()->profile()));
PolicyMap policies;
@@ -2747,7 +2747,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, SSLVersionFallbackMin) {
NULL);
UpdateProviderPolicy(policies);
- EXPECT_EQ(net::SSL_PROTOCOL_VERSION_TLS1_2,
+ EXPECT_EQ(net::SSL_PROTOCOL_VERSION_TLS1_1,
GetSSLVersionFallbackMin(browser()->profile()));
}
« no previous file with comments | « no previous file | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698