Index: remoting/host/simple_host_process.cc |
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc |
index c19a73c0dae0a3ca67a34dffa61e18b65a3988ac..c3acb5d6f9ff7ba06d3ae5b213b18e3d33e974db 100644 |
--- a/remoting/host/simple_host_process.cc |
+++ b/remoting/host/simple_host_process.cc |
@@ -192,6 +192,16 @@ class SimpleHost { |
// Let the chromoting host run until the shutdown task is executed. |
host_->Start(); |
+ |
+ // Set an empty shared-secret for Me2Me. |
+ // TODO(lambroslambrou): This is a temporary fix, pending a Me2Me-specific |
+ // AuthenticatorFactory. |
+ if (!is_it2me_) { |
+ context.network_message_loop()->PostTask( |
+ FROM_HERE, base::Bind(&ChromotingHost::SetSharedSecret, host_.get(), |
+ std::string())); |
+ } |
+ |
message_loop.MessageLoop::Run(); |
// And then stop the chromoting context. |