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

Unified Diff: components/ssl_config/ssl_config_switches.cc

Issue 2083743002: Adding TLS 1.3 constants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing max version constraints. Created 4 years, 5 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 | « components/ssl_config/ssl_config_switches.h ('k') | net/socket/ssl_client_socket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ssl_config/ssl_config_switches.cc
diff --git a/components/ssl_config/ssl_config_switches.cc b/components/ssl_config/ssl_config_switches.cc
index 05ed87b7f7ab2279356a455b9aab54233784f985..2152f87e7bb51f99c118260cd1d2a4cfb9e4e465 100644
--- a/components/ssl_config/ssl_config_switches.cc
+++ b/components/ssl_config/ssl_config_switches.cc
@@ -6,10 +6,12 @@
namespace switches {
-// Specifies the maximum SSL/TLS version ("tls1", "tls1.1", or "tls1.2").
+// Specifies the maximum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or
+// "tls1.3").
const char kSSLVersionMax[] = "ssl-version-max";
-// Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2").
+// Specifies the minimum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or
+// "tls1.3").
const char kSSLVersionMin[] = "ssl-version-min";
// These values aren't switches, but rather the values that kSSLVersionMax and
@@ -17,5 +19,6 @@ const char kSSLVersionMin[] = "ssl-version-min";
const char kSSLVersionTLSv1[] = "tls1";
const char kSSLVersionTLSv11[] = "tls1.1";
const char kSSLVersionTLSv12[] = "tls1.2";
+const char kSSLVersionTLSv13[] = "tls1.3";
} // namespace switches
« no previous file with comments | « components/ssl_config/ssl_config_switches.h ('k') | net/socket/ssl_client_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698