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

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

Issue 1474983003: Support for client certs in ssl_server_socket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 11 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
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_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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698