| 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 d3c38e8e2f51ad2e562a87ab2f4fc7f67680ec6c..e849f0d81babbe9c0ae1834975f3c96a4ba8b564 100644
|
| --- a/content/child/webcrypto/openssl/rsa_key_openssl.cc
|
| +++ b/content/child/webcrypto/openssl/rsa_key_openssl.cc
|
| @@ -166,9 +166,6 @@
|
| combined_usages & all_public_key_usages_;
|
| const blink::WebCryptoKeyUsageMask private_usages =
|
| combined_usages & all_private_key_usages_;
|
| -
|
| - if (private_usages == 0)
|
| - return Status::ErrorCreateKeyEmptyUsages();
|
|
|
| const blink::WebCryptoRsaHashedKeyGenParams* params =
|
| algorithm.rsaHashedKeyGenParams();
|
|
|