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 scoped_ptr
<SSLServerSocket
> CreateSSLServerSocket(
20 scoped_ptr
<StreamSocket
> socket
,
21 X509Certificate
* certificate
,
22 crypto::RSAPrivateKey
* key
,
23 const SSLConfig
& ssl_config
) {
25 return scoped_ptr
<SSLServerSocket
>();