- add sources.
[platform/framework/web/crosswalk.git] / src / net / socket / ssl_server_socket_openssl.cc
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
13 namespace net {
14
15 void EnableSSLServerSockets() {
16   NOTIMPLEMENTED();
17 }
18
19 scoped_ptr<SSLServerSocket> CreateSSLServerSocket(
20     scoped_ptr<StreamSocket> socket,
21     X509Certificate* certificate,
22     crypto::RSAPrivateKey* key,
23     const SSLConfig& ssl_config) {
24   NOTIMPLEMENTED();
25   return scoped_ptr<SSLServerSocket>();
26 }
27
28 }  // namespace net