| Index: remoting/host/pin_hash.cc
|
| diff --git a/remoting/host/pin_hash.cc b/remoting/host/pin_hash.cc
|
| index fe17f38caff4d46e4fd812462bb7b9788c94e317..c9b1ca3cb6575acc0b48fd1510c9bba5cd82c804 100644
|
| --- a/remoting/host/pin_hash.cc
|
| +++ b/remoting/host/pin_hash.cc
|
| @@ -16,9 +16,7 @@ std::string MakeHostPinHash(const std::string& host_id,
|
| std::string hash = protocol::AuthenticationMethod::ApplyHashFunction(
|
| protocol::AuthenticationMethod::HMAC_SHA256, host_id, pin);
|
| std::string hash_base64;
|
| - if (!base::Base64Encode(hash, &hash_base64)) {
|
| - LOG(FATAL) << "Base64Encode failed";
|
| - }
|
| + base::Base64Encode(hash, &hash_base64);
|
| return "hmac:" + hash_base64;
|
| }
|
|
|
|
|