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

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: Rebase to r141775 and remove suppression 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
« no previous file with comments | « net/socket/ssl_server_socket_nss.cc ('k') | remoting/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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
8 namespace net { 13 namespace net {
9 14
10 // TODO(bulach): Rather than disable components which call 15 void EnableSSLServerSockets() {
11 // CreateSSLServerSocket when building for OpenSSL rather than NSS, just 16 NOTIMPLEMENTED();
12 // provide a stub for it for now. 17 }
18
13 SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket, 19 SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket,
14 X509Certificate* certificate, 20 X509Certificate* certificate,
15 crypto::RSAPrivateKey* key, 21 crypto::RSAPrivateKey* key,
16 const SSLConfig& ssl_config) { 22 const SSLConfig& ssl_config) {
17 NOTIMPLEMENTED(); 23 NOTIMPLEMENTED();
18 delete socket; 24 delete socket;
19 return NULL; 25 return NULL;
20 } 26 }
21 27
22 } // namespace net 28 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_server_socket_nss.cc ('k') | remoting/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698