OLD | NEW |
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 |
OLD | NEW |