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

Unified Diff: remoting/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 | « remoting/remoting.gyp ('k') | tools/valgrind/tsan/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/run_all_unittests.cc
diff --git a/remoting/run_all_unittests.cc b/remoting/run_all_unittests.cc
index 3553ae782ad1d3ae53f9e5d73ccf775417fc3d8a..796f1e6bb1d71ba6b27c58edbfc637af6852afd2 100644
--- a/remoting/run_all_unittests.cc
+++ b/remoting/run_all_unittests.cc
@@ -3,8 +3,14 @@
// found in the LICENSE file.
#include "base/test/test_suite.h"
+#include "net/socket/ssl_server_socket.h"
int main(int argc, char** argv) {
base::TestSuite test_suite(argc, argv);
+
+ // Enable support for SSL server sockets, which must be done while
+ // single-threaded.
+ net::EnableSSLServerSockets();
+
return test_suite.Run();
}
« no previous file with comments | « remoting/remoting.gyp ('k') | tools/valgrind/tsan/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698