diff options
Diffstat (limited to 'content/child/webcrypto/openssl/rsa_key_openssl.cc')
-rw-r--r-- | content/child/webcrypto/openssl/rsa_key_openssl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/child/webcrypto/openssl/rsa_key_openssl.cc b/content/child/webcrypto/openssl/rsa_key_openssl.cc index 8ba329a..42098eb 100644 --- a/content/child/webcrypto/openssl/rsa_key_openssl.cc +++ b/content/child/webcrypto/openssl/rsa_key_openssl.cc @@ -79,7 +79,7 @@ Status CreateRsaHashedKeyAlgorithm( std::vector<uint8_t> e(BN_num_bytes(rsa.get()->e)); if (e.size() == 0) return Status::ErrorUnexpected(); - if (static_cast<int>(e.size()) != BN_bn2bin(rsa.get()->e, &e[0])) + if (e.size() != BN_bn2bin(rsa.get()->e, &e[0])) return Status::ErrorUnexpected(); *key_algorithm = blink::WebCryptoKeyAlgorithm::createRsaHashed( |