| Index: content/child/webcrypto/openssl/aes_key_openssl.cc
|
| diff --git a/content/child/webcrypto/openssl/aes_key_openssl.cc b/content/child/webcrypto/openssl/aes_key_openssl.cc
|
| index f6fda3a76047e2ee75245d21da435cdf66f919a2..9e97d96d0f29a45b0f5ef5fad67d10c7db5c84ff 100644
|
| --- a/content/child/webcrypto/openssl/aes_key_openssl.cc
|
| +++ b/content/child/webcrypto/openssl/aes_key_openssl.cc
|
| @@ -92,7 +92,7 @@ Status AesAlgorithm::ImportKeyJwk(const CryptoData& key_data,
|
| bool extractable,
|
| blink::WebCryptoKeyUsageMask usage_mask,
|
| blink::WebCryptoKey* key) const {
|
| - std::vector<uint8> raw_data;
|
| + std::vector<uint8_t> raw_data;
|
| Status status = ReadAesSecretKeyJwk(
|
| key_data, jwk_suffix_, extractable, usage_mask, &raw_data);
|
| if (status.IsError())
|
| @@ -103,14 +103,15 @@ Status AesAlgorithm::ImportKeyJwk(const CryptoData& key_data,
|
| }
|
|
|
| Status AesAlgorithm::ExportKeyRaw(const blink::WebCryptoKey& key,
|
| - std::vector<uint8>* buffer) const {
|
| + std::vector<uint8_t>* buffer) const {
|
| *buffer = SymKeyOpenSsl::Cast(key)->raw_key_data();
|
| return Status::Success();
|
| }
|
|
|
| Status AesAlgorithm::ExportKeyJwk(const blink::WebCryptoKey& key,
|
| - std::vector<uint8>* buffer) const {
|
| - const std::vector<uint8>& raw_data = SymKeyOpenSsl::Cast(key)->raw_key_data();
|
| + std::vector<uint8_t>* buffer) const {
|
| + const std::vector<uint8_t>& raw_data =
|
| + SymKeyOpenSsl::Cast(key)->raw_key_data();
|
|
|
| WriteSecretKeyJwk(CryptoData(raw_data),
|
| MakeJwkAesAlgorithmName(jwk_suffix_, raw_data.size()),
|
|
|