| Index: trunk/src/remoting/protocol/auth_util.cc
|
| ===================================================================
|
| --- trunk/src/remoting/protocol/auth_util.cc (revision 239920)
|
| +++ trunk/src/remoting/protocol/auth_util.cc (working copy)
|
| @@ -26,7 +26,9 @@
|
| const std::string& access_code) {
|
| std::string sha256 = crypto::SHA256HashString(jid + " " + access_code);
|
| std::string sha256_base64;
|
| - base::Base64Encode(sha256, &sha256_base64);
|
| + if (!base::Base64Encode(sha256, &sha256_base64)) {
|
| + LOG(FATAL) << "Failed to encode auth token";
|
| + }
|
| return sha256_base64;
|
| }
|
|
|
|
|