| Index: chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc
|
| diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc
|
| index b4a64a35b45edd4d75d1790465b6a74a07777263..389dcc5de8a04e8d9321ab68648efaf25d758a04 100644
|
| --- a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc
|
| +++ b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc
|
| @@ -40,9 +40,8 @@ const int kMasterKeySize = 32;
|
| std::string CreateSalt() {
|
| char result[kSaltSize];
|
| crypto::RandBytes(&result, sizeof(result));
|
| - return base::StringToLowerASCII(base::HexEncode(
|
| - reinterpret_cast<const void*>(result),
|
| - sizeof(result)));
|
| + return base::ToLowerASCII(
|
| + base::HexEncode(reinterpret_cast<const void*>(result), sizeof(result)));
|
| }
|
|
|
| std::string BuildRawHMACKey() {
|
| @@ -164,7 +163,7 @@ bool SupervisedUserAuthentication::FillDataForNewUser(
|
| std::string SupervisedUserAuthentication::GenerateMasterKey() {
|
| char master_key_bytes[kMasterKeySize];
|
| crypto::RandBytes(&master_key_bytes, sizeof(master_key_bytes));
|
| - return base::StringToLowerASCII(
|
| + return base::ToLowerASCII(
|
| base::HexEncode(reinterpret_cast<const void*>(master_key_bytes),
|
| sizeof(master_key_bytes)));
|
| }
|
|
|