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 3dd92456546b0875109b32e72f5a330566478575..d93df62e6201ffbe9b09788b3321cf4b03e50292 100644 |
--- a/remoting/host/token_validator_factory_impl.cc |
+++ b/remoting/host/token_validator_factory_impl.cc |
@@ -107,8 +107,7 @@ class TokenValidatorImpl |
std::string nonce_bytes; |
crypto::RandBytes(WriteInto(&nonce_bytes, kNonceLength + 1), kNonceLength); |
std::string nonce; |
- bool success = base::Base64Encode(nonce_bytes, &nonce); |
- DCHECK(success); |
+ base::Base64Encode(nonce_bytes, &nonce); |
return "client:" + remote_jid + " host:" + local_jid + " nonce:" + nonce; |
} |