| Index: chrome/browser/chromeos/login/parallel_authenticator.cc
|
| diff --git a/chrome/browser/chromeos/login/parallel_authenticator.cc b/chrome/browser/chromeos/login/parallel_authenticator.cc
|
| index 54b5aaf7e8e5cbffd9f6d14ea0bfe758958f2015..85f724d8e604f8c672d46b3f9a00b901e1d85a13 100644
|
| --- a/chrome/browser/chromeos/login/parallel_authenticator.cc
|
| +++ b/chrome/browser/chromeos/login/parallel_authenticator.cc
|
| @@ -187,6 +187,8 @@ std::string HashPassword(const std::string& password) {
|
| // Get salt, ascii encode, update sha with that, then update with ascii
|
| // of password, then end.
|
| std::string ascii_salt = CryptohomeLibrary::Get()->GetSystemSalt();
|
| + // TODO(stevenjb/nkostylev): Handle empty system salt gracefully.
|
| + CHECK(!ascii_salt.empty());
|
| char passhash_buf[kPasswordHashLength];
|
|
|
| // Hash salt and password
|
|
|