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_2), |
15 require_ecdhe(false), | 15 require_ecdhe(false), |
16 require_client_cert(false) {} | 16 require_client_cert(false), |
17 cert_authorities_(), | |
davidben
2016/01/25 20:56:12
Not needed.
ryanchung
2016/01/29 23:22:14
Done.
| |
18 client_cert_verifier() {} | |
davidben
2016/01/25 20:56:12
client_cert_verifier(nullptr)
Otherwise I suspect
ryanchung
2016/01/29 23:22:14
Done.
| |
17 | 19 |
18 SSLServerConfig::~SSLServerConfig() {} | 20 SSLServerConfig::~SSLServerConfig() {} |
19 | 21 |
20 } // namespace net | 22 } // namespace net |
OLD | NEW |