Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: content/test/data/webcrypto/bad_ec_keys.json

Issue 839653002: Throw a DataError rather than OperationError in some cases when importing invalid EC key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pkcs_export
Patch Set: undo the jwk optimization and just check_key() always Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/webcrypto/openssl/ec_algorithm_openssl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/webcrypto/bad_ec_keys.json
diff --git a/content/test/data/webcrypto/bad_ec_keys.json b/content/test/data/webcrypto/bad_ec_keys.json
index 37e044a72ce92a742835aeb588e36d570f7d1619..d08c86b6b6b692bbc58583941b35d78c63af7f9d 100644
--- a/content/test/data/webcrypto/bad_ec_keys.json
+++ b/content/test/data/webcrypto/bad_ec_keys.json
@@ -69,7 +69,7 @@
"x": "nLPPaTA9r8dh1ORoe07PA55tNKuWSvgIENjVWKSo1vc",
"y": "LVEjOheIkgqG7gihlix576MX-3h54pfa0hRtuZX6HHg"
},
- "error": "OperationError"
+ "error": "DataError"
},
// Import Error: Incorrect kty.
@@ -203,7 +203,7 @@
"x": "5V_ubEnY1SP1znv5wEJc5P9lBwi33lz7CVkBUjl5p_BCYC2zCFRzU2mBO1w_Xvho",
"y": "KPWcxdxQlJKpiNOKjiUZ3j0MT9D72wmT448YUGwXYGxeJCSSRvHOlJg6U2HFvpg-"
},
- "error": "OperationError"
+ "error": "DataError"
},
// --------------------------------------------------------------------------
« no previous file with comments | « content/child/webcrypto/openssl/ec_algorithm_openssl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698