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

Side by Side Diff: net/ssl/ssl_server_config.cc

Issue 2026693002: Adding TLS 1.3 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on constants. Created 4 years, 6 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 | « net/ssl/ssl_config.cc ('k') | third_party/boringssl/BUILD.generated.gni » ('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 "net/ssl/ssl_server_config.h" 5 #include "net/ssl/ssl_server_config.h"
6 6
7 #include "net/socket/ssl_client_socket.h" 7 #include "net/socket/ssl_client_socket.h"
8 #include "net/ssl/ssl_config.h" 8 #include "net/ssl/ssl_config.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 SSLServerConfig::SSLServerConfig() 12 SSLServerConfig::SSLServerConfig()
13 : version_min(kDefaultSSLVersionMin), 13 : version_min(kDefaultSSLVersionMin),
14 version_max(SSL_PROTOCOL_VERSION_TLS1_2), 14 version_max(SSL_PROTOCOL_VERSION_TLS1_3),
15 require_ecdhe(false), 15 require_ecdhe(false),
16 client_cert_type(NO_CLIENT_CERT), 16 client_cert_type(NO_CLIENT_CERT),
17 client_cert_verifier(nullptr) {} 17 client_cert_verifier(nullptr) {}
18 18
19 SSLServerConfig::SSLServerConfig(const SSLServerConfig& other) = default; 19 SSLServerConfig::SSLServerConfig(const SSLServerConfig& other) = default;
20 20
21 SSLServerConfig::~SSLServerConfig() {} 21 SSLServerConfig::~SSLServerConfig() {}
22 22
23 } // namespace net 23 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/ssl_config.cc ('k') | third_party/boringssl/BUILD.generated.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698