1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/logging.h"
6 #include "net/socket/ssl_server_socket.h"
8 // TODO(bulach): Provide simple stubs for EnableSSLServerSockets and
9 // CreateSSLServerSocket so that when building for OpenSSL rather than NSS,
10 // so that the code using SSL server sockets can be compiled and disabled
11 // programatically rather than requiring to be carved out from the compile.
15 void EnableSSLServerSockets() {
19 SSLServerSocket
* CreateSSLServerSocket(StreamSocket
* socket
,
20 X509Certificate
* certificate
,
21 crypto::RSAPrivateKey
* key
,
22 const SSLConfig
& ssl_config
) {