Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Side by Side Diff: net/socket/ssl_server_socket_openssl.cc

Issue 10543106: Add an explicit function to init NSS for SSL server sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698