| Index: remoting/host/token_validator_factory_impl.cc
|
| diff --git a/remoting/host/token_validator_factory_impl.cc b/remoting/host/token_validator_factory_impl.cc
|
| index 2109b6bfdb953e3487813bdd2116ca3d974b0fd8..0187fb8a5621a60f6c114ab0ebab2cb46b375664 100644
|
| --- a/remoting/host/token_validator_factory_impl.cc
|
| +++ b/remoting/host/token_validator_factory_impl.cc
|
| @@ -99,7 +99,8 @@ std::string TokenValidatorImpl::CreateScope(
|
| const std::string& local_jid,
|
| const std::string& remote_jid) {
|
| std::string nonce_bytes;
|
| - crypto::RandBytes(WriteInto(&nonce_bytes, kNonceLength + 1), kNonceLength);
|
| + crypto::RandBytes(base::WriteInto(&nonce_bytes, kNonceLength + 1),
|
| + kNonceLength);
|
| std::string nonce;
|
| base::Base64Encode(nonce_bytes, &nonce);
|
| return "client:" + remote_jid + " host:" + local_jid + " nonce:" + nonce;
|
|
|