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

Unified Diff: net/base/run_all_unittests.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/socket/ssl_server_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/run_all_unittests.cc
diff --git a/net/base/run_all_unittests.cc b/net/base/run_all_unittests.cc
index c00d9d16c5f2810c2a6019339106cd0101de552e..a7b82e9b63f41e60f3bbe3ba9643e6d102e37da2 100644
--- a/net/base/run_all_unittests.cc
+++ b/net/base/run_all_unittests.cc
@@ -7,6 +7,7 @@
#include "crypto/nss_util.h"
#include "net/base/net_test_suite.h"
#include "net/socket/client_socket_pool_base.h"
+#include "net/socket/ssl_server_socket.h"
#include "net/spdy/spdy_session.h"
using net::internal::ClientSocketPoolBaseHelper;
@@ -23,5 +24,9 @@ int main(int argc, char** argv) {
crypto::EnsureNSPRInit();
#endif
+ // Enable support for SSL server sockets, which must be done while
+ // single-threaded.
+ net::EnableSSLServerSockets();
+
return test_suite.Run();
}
« no previous file with comments | « no previous file | net/socket/ssl_server_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698