| Index: content/child/webcrypto/openssl/ec_key_openssl.cc
|
| diff --git a/content/child/webcrypto/openssl/ec_key_openssl.cc b/content/child/webcrypto/openssl/ec_key_openssl.cc
|
| index 81e233701f42767301e104023301db12f4942f6f..8d5fc0879d70227c6c687918cb3515dce2b73af4 100644
|
| --- a/content/child/webcrypto/openssl/ec_key_openssl.cc
|
| +++ b/content/child/webcrypto/openssl/ec_key_openssl.cc
|
| @@ -217,9 +217,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::WebCryptoEcKeyGenParams* params = algorithm.ecKeyGenParams();
|
|
|
|
|