| Index: content/child/webcrypto/openssl/rsa_oaep_openssl.cc
|
| diff --git a/content/child/webcrypto/openssl/rsa_oaep_openssl.cc b/content/child/webcrypto/openssl/rsa_oaep_openssl.cc
|
| index 553c846a497f4f6d32bb11afcb91de3cbe6dfee9..b1e40174fa50de4e90af7b8f2752fa62de014223 100644
|
| --- a/content/child/webcrypto/openssl/rsa_oaep_openssl.cc
|
| +++ b/content/child/webcrypto/openssl/rsa_oaep_openssl.cc
|
| @@ -103,7 +103,7 @@ class RsaOaepImplementation : public RsaHashedAlgorithm {
|
| blink::WebCryptoKeyUsageDecrypt |
|
| blink::WebCryptoKeyUsageUnwrapKey) {}
|
|
|
| - virtual const char* GetJwkAlgorithm(
|
| + const char* GetJwkAlgorithm(
|
| const blink::WebCryptoAlgorithmId hash) const override {
|
| switch (hash) {
|
| case blink::WebCryptoAlgorithmIdSha1:
|
| @@ -119,10 +119,10 @@ class RsaOaepImplementation : public RsaHashedAlgorithm {
|
| }
|
| }
|
|
|
| - virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
|
| - const blink::WebCryptoKey& key,
|
| - const CryptoData& data,
|
| - std::vector<uint8_t>* buffer) const override {
|
| + Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
|
| + const blink::WebCryptoKey& key,
|
| + const CryptoData& data,
|
| + std::vector<uint8_t>* buffer) const override {
|
| if (key.type() != blink::WebCryptoKeyTypePublic)
|
| return Status::ErrorUnexpectedKeyType();
|
|
|
| @@ -130,10 +130,10 @@ class RsaOaepImplementation : public RsaHashedAlgorithm {
|
| EVP_PKEY_encrypt_init, EVP_PKEY_encrypt, algorithm, key, data, buffer);
|
| }
|
|
|
| - virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
|
| - const blink::WebCryptoKey& key,
|
| - const CryptoData& data,
|
| - std::vector<uint8_t>* buffer) const override {
|
| + Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
|
| + const blink::WebCryptoKey& key,
|
| + const CryptoData& data,
|
| + std::vector<uint8_t>* buffer) const override {
|
| if (key.type() != blink::WebCryptoKeyTypePrivate)
|
| return Status::ErrorUnexpectedKeyType();
|
|
|
|
|