Index: remoting/protocol/auth_util.cc |
diff --git a/remoting/protocol/auth_util.cc b/remoting/protocol/auth_util.cc |
index 455963672c21aa362f7eac0c34a5cea361768a23..17263bfa0ede61e129d1eb47fd7f6f3c15b648f4 100644 |
--- a/remoting/protocol/auth_util.cc |
+++ b/remoting/protocol/auth_util.cc |
@@ -26,9 +26,7 @@ std::string GenerateSupportAuthToken(const std::string& jid, |
const std::string& access_code) { |
std::string sha256 = crypto::SHA256HashString(jid + " " + access_code); |
std::string sha256_base64; |
- if (!base::Base64Encode(sha256, &sha256_base64)) { |
- LOG(FATAL) << "Failed to encode auth token"; |
- } |
+ base::Base64Encode(sha256, &sha256_base64); |
return sha256_base64; |
} |