Index: content/child/webcrypto/openssl/rsa_key_openssl.cc |
diff --git a/content/child/webcrypto/openssl/rsa_key_openssl.cc b/content/child/webcrypto/openssl/rsa_key_openssl.cc |
index 8ba329a0ae5a0574535967bfce99444bdc88c193..42098eba8e5131e281bd814d57d5e4fbe365c1e0 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( |