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

Unified Diff: remoting/host/remoting_me2me_host.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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index 739efcee46b7f3aa3e72b95bdb33f80d55ea632e..13d150dcf3e06f4ef6d7fbf17e76dacd67874117 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -21,6 +21,7 @@
#include "build/build_config.h"
#include "crypto/nss_util.h"
#include "net/base/network_change_notifier.h"
+#include "net/socket/ssl_server_socket.h"
#include "remoting/base/breakpad.h"
#include "remoting/base/constants.h"
#include "remoting/host/branding.h"
@@ -98,6 +99,7 @@ class HostProcess
restarting_(false),
shutting_down_(false),
exit_code_(kSuccessExitCode) {
+ net::EnableSSLServerSockets();
Wez 2012/06/12 21:30:35 nit: Add a comment explaining why we have to do th
context_.reset(
new ChromotingHostContext(message_loop_.message_loop_proxy()));
context_->Start();

Powered by Google App Engine
This is Rietveld 408576698