| Index: remoting/host/register_support_host_request.cc
|
| diff --git a/remoting/host/register_support_host_request.cc b/remoting/host/register_support_host_request.cc
|
| index c0a80d1ac4eede335cc1f86b9164eb9f7298e857..265da434b5e145abef1fc6ba49a392aba1296db2 100644
|
| --- a/remoting/host/register_support_host_request.cc
|
| +++ b/remoting/host/register_support_host_request.cc
|
| @@ -12,6 +12,7 @@
|
| #include "remoting/base/constants.h"
|
| #include "remoting/host/host_config.h"
|
| #include "remoting/signaling/iq_sender.h"
|
| +#include "remoting/signaling/jid_util.h"
|
| #include "remoting/signaling/signal_strategy.h"
|
| #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
|
| #include "third_party/webrtc/libjingle/xmpp/constants.h"
|
| @@ -97,7 +98,7 @@ scoped_ptr<XmlElement> RegisterSupportHostRequest::CreateSignature(
|
| signature_tag->AddAttr(
|
| QName(kChromotingXmlNamespace, kSignatureTimeAttr), time_str);
|
|
|
| - std::string message = jid + ' ' + time_str;
|
| + std::string message = NormalizeJid(jid) + ' ' + time_str;
|
| std::string signature(key_pair_->SignMessage(message));
|
| signature_tag->AddText(signature);
|
|
|
|
|