diff options
Diffstat (limited to 'components/ownership/mock_owner_key_util.cc')
-rw-r--r-- | components/ownership/mock_owner_key_util.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/ownership/mock_owner_key_util.cc b/components/ownership/mock_owner_key_util.cc index 5b28c78..e00ef1c 100644 --- a/components/ownership/mock_owner_key_util.cc +++ b/components/ownership/mock_owner_key_util.cc @@ -20,13 +20,13 @@ MockOwnerKeyUtil::MockOwnerKeyUtil() { MockOwnerKeyUtil::~MockOwnerKeyUtil() { } -bool MockOwnerKeyUtil::ImportPublicKey(std::vector<uint8>* output) { +bool MockOwnerKeyUtil::ImportPublicKey(std::vector<uint8_t>* output) { *output = public_key_; return !public_key_.empty(); } crypto::ScopedSECKEYPrivateKey MockOwnerKeyUtil::FindPrivateKeyInSlot( - const std::vector<uint8>& key, + const std::vector<uint8_t>& key, PK11SlotInfo* slot) { if (!private_key_) return nullptr; @@ -43,7 +43,7 @@ void MockOwnerKeyUtil::Clear() { private_key_.reset(); } -void MockOwnerKeyUtil::SetPublicKey(const std::vector<uint8>& key) { +void MockOwnerKeyUtil::SetPublicKey(const std::vector<uint8_t>& key) { public_key_ = key; } |