Chromium Code Reviews| 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 faba7f8f634e54703c460665b9a760b2ea7a6a61..0a7cb5537b026b8b3797fa23d15f97dea3ea03cb 100644 |
| --- a/content/child/webcrypto/openssl/ec_key_openssl.cc |
| +++ b/content/child/webcrypto/openssl/ec_key_openssl.cc |
| @@ -374,7 +374,7 @@ Status EcAlgorithm::ImportKeyJwk(const CryptoData& key_data, |
| // Now that the key type is known, verify the usages. |
| status = CheckKeyCreationUsages( |
| is_private_key ? all_private_key_usages_ : all_public_key_usages_, |
| - usages); |
| + usages, true); |
|
eroman
2014/12/17 01:23:51
I don't believe this is correct. Shouldn't it be !
Habib Virji
2014/12/17 15:41:53
Sorry I missed this file to update.
You were rig
|
| if (status.IsError()) |
| return status; |