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.
4
5#include "base/logging.h"
6#include "net/socket/ssl_server_socket.h"
7
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.
12
13namespace net {
14
15void EnableSSLServerSockets() {
16  NOTIMPLEMENTED();
17}
18
19SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket,
20                                       X509Certificate* certificate,
21                                       crypto::RSAPrivateKey* key,
22                                       const SSLConfig& ssl_config) {
23  NOTIMPLEMENTED();
24  delete socket;
25  return NULL;
26}
27
28}  // namespace net
29