| Index: content/child/webcrypto/nss/key_nss.h
|
| diff --git a/content/child/webcrypto/nss/key_nss.h b/content/child/webcrypto/nss/key_nss.h
|
| index f1980e27ad7ff7f4e04a4d506eaf02534834eea1..c2d8c816e303c28e7afa4d479b918f7c259e8e69 100644
|
| --- a/content/child/webcrypto/nss/key_nss.h
|
| +++ b/content/child/webcrypto/nss/key_nss.h
|
| @@ -30,12 +30,12 @@ class KeyNss : public blink::WebCryptoKeyHandle {
|
| virtual PublicKeyNss* AsPublicKey();
|
| virtual PrivateKeyNss* AsPrivateKey();
|
|
|
| - const std::vector<uint8>& serialized_key_data() const {
|
| + const std::vector<uint8_t>& serialized_key_data() const {
|
| return serialized_key_data_;
|
| }
|
|
|
| private:
|
| - const std::vector<uint8> serialized_key_data_;
|
| + const std::vector<uint8_t> serialized_key_data_;
|
| };
|
|
|
| class SymKeyNss : public KeyNss {
|
| @@ -48,7 +48,7 @@ class SymKeyNss : public KeyNss {
|
| PK11SymKey* key() { return key_.get(); }
|
| virtual SymKeyNss* AsSymKey() OVERRIDE;
|
|
|
| - const std::vector<uint8>& raw_key_data() const {
|
| + const std::vector<uint8_t>& raw_key_data() const {
|
| return serialized_key_data();
|
| }
|
|
|
| @@ -68,7 +68,9 @@ class PublicKeyNss : public KeyNss {
|
| SECKEYPublicKey* key() { return key_.get(); }
|
| virtual PublicKeyNss* AsPublicKey() OVERRIDE;
|
|
|
| - const std::vector<uint8>& spki_data() const { return serialized_key_data(); }
|
| + const std::vector<uint8_t>& spki_data() const {
|
| + return serialized_key_data();
|
| + }
|
|
|
| private:
|
| crypto::ScopedSECKEYPublicKey key_;
|
| @@ -87,7 +89,9 @@ class PrivateKeyNss : public KeyNss {
|
| SECKEYPrivateKey* key() { return key_.get(); }
|
| virtual PrivateKeyNss* AsPrivateKey() OVERRIDE;
|
|
|
| - const std::vector<uint8>& pkcs8_data() const { return serialized_key_data(); }
|
| + const std::vector<uint8_t>& pkcs8_data() const {
|
| + return serialized_key_data();
|
| + }
|
|
|
| private:
|
| crypto::ScopedSECKEYPrivateKey key_;
|
|
|