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..bb87fb557a53e0a96a2bb92fca442f6a29e8743b 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" |
@@ -546,6 +547,10 @@ int main(int argc, char** argv) { |
gfx::GtkInitFromCommandLine(*cmd_line); |
#endif // TOOLKIT_GTK |
+ // Enable support for SSL server sockets, which must be done while still |
+ // single-threaded. |
+ net::EnableSSLServerSockets(); |
+ |
remoting::HostProcess me2me_host; |
me2me_host.InitWithCommandLine(cmd_line); |