Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "net/socket/ssl_server_socket.h" | 6 #include "net/socket/ssl_server_socket.h" |
| 7 | 7 |
| 8 namespace net { | 8 namespace net { |
| 9 | 9 |
| 10 void EnableSSLServerSockets() {} | |
|
Wez
2012/06/12 21:30:35
nit: Consider NOTIMPLEMENTED(); here.
| |
| 11 | |
| 10 // TODO(bulach): Rather than disable components which call | 12 // TODO(bulach): Rather than disable components which call |
| 11 // CreateSSLServerSocket when building for OpenSSL rather than NSS, just | 13 // CreateSSLServerSocket when building for OpenSSL rather than NSS, just |
| 12 // provide a stub for it for now. | 14 // provide a stub for it for now. |
|
Wez
2012/06/12 21:30:35
nit: Move this to a file-scope comment explaining
| |
| 13 SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket, | 15 SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket, |
| 14 X509Certificate* certificate, | 16 X509Certificate* certificate, |
| 15 crypto::RSAPrivateKey* key, | 17 crypto::RSAPrivateKey* key, |
| 16 const SSLConfig& ssl_config) { | 18 const SSLConfig& ssl_config) { |
| 17 NOTIMPLEMENTED(); | 19 NOTIMPLEMENTED(); |
| 18 delete socket; | 20 delete socket; |
| 19 return NULL; | 21 return NULL; |
| 20 } | 22 } |
| 21 | 23 |
| 22 } // namespace net | 24 } // namespace net |
| OLD | NEW |