| Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc
|
| diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc
|
| index dccd50dfe1f1de5cf1d86d3dddcb4157f42150de..99ce54b93c72db540e5678a334228698c0c8c2b9 100644
|
| --- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc
|
| +++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <cryptohi.h>
|
| #include <keyhi.h>
|
| +#include <stdint.h>
|
|
|
| #include "base/base64.h"
|
| #include "base/bind.h"
|
| @@ -86,10 +87,10 @@ crypto::ScopedSECKEYPrivateKey GetPrivateKeyOnWorkerThread(
|
| const std::string& public_key) {
|
| CHECK(slot);
|
|
|
| - const uint8* public_key_uint8 =
|
| - reinterpret_cast<const uint8*>(public_key.data());
|
| - std::vector<uint8> public_key_vector(
|
| - public_key_uint8, public_key_uint8 + public_key.size());
|
| + const uint8_t* public_key_uint8 =
|
| + reinterpret_cast<const uint8_t*>(public_key.data());
|
| + std::vector<uint8_t> public_key_vector(public_key_uint8,
|
| + public_key_uint8 + public_key.size());
|
|
|
| crypto::ScopedSECKEYPrivateKey rsa_key(
|
| crypto::FindNSSKeyFromPublicKeyInfoInSlot(public_key_vector, slot));
|
|
|