Index: net/socket/ssl_server_socket_openssl.cc |
diff --git a/net/socket/ssl_server_socket_openssl.cc b/net/socket/ssl_server_socket_openssl.cc |
index 8dc1b9c03aa967c3c5725a4ec824fbbaeeb9fc52..0ebbab187792da6fcba4a32655175bdb3998dc2e 100644 |
--- a/net/socket/ssl_server_socket_openssl.cc |
+++ b/net/socket/ssl_server_socket_openssl.cc |
@@ -5,11 +5,17 @@ |
#include "base/logging.h" |
#include "net/socket/ssl_server_socket.h" |
+// TODO(bulach): Provide simple stubs for EnableSSLServerSockets and |
+// CreateSSLServerSocket so that when building for OpenSSL rather than NSS, |
+// so that the code using SSL server sockets can be compiled and disabled |
+// programatically rather than requiring to be carved out from the compile. |
+ |
namespace net { |
-// TODO(bulach): Rather than disable components which call |
-// CreateSSLServerSocket when building for OpenSSL rather than NSS, just |
-// provide a stub for it for now. |
+void EnableSSLServerSockets() { |
+ NOTIMPLEMENTED(); |
+} |
+ |
SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket, |
X509Certificate* certificate, |
crypto::RSAPrivateKey* key, |