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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/ssl_config/ssl_config_switches.h" 5 #include "components/ssl_config/ssl_config_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Specifies the maximum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). 9 // Specifies the maximum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or
10 // "tls1.3").
10 const char kSSLVersionMax[] = "ssl-version-max"; 11 const char kSSLVersionMax[] = "ssl-version-max";
11 12
12 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). 13 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or
14 // "tls1.3").
13 const char kSSLVersionMin[] = "ssl-version-min"; 15 const char kSSLVersionMin[] = "ssl-version-min";
14 16
15 // These values aren't switches, but rather the values that kSSLVersionMax and 17 // These values aren't switches, but rather the values that kSSLVersionMax and
16 // kSSLVersionMin can have. 18 // kSSLVersionMin can have.
17 const char kSSLVersionTLSv1[] = "tls1"; 19 const char kSSLVersionTLSv1[] = "tls1";
18 const char kSSLVersionTLSv11[] = "tls1.1"; 20 const char kSSLVersionTLSv11[] = "tls1.1";
19 const char kSSLVersionTLSv12[] = "tls1.2"; 21 const char kSSLVersionTLSv12[] = "tls1.2";
22 const char kSSLVersionTLSv13[] = "tls1.3";
20 23
21 } // namespace switches 24 } // namespace switches
OLDNEW
« 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