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

Unified Diff: content/child/webcrypto/status.cc

Issue 804773004: [WebCrypto] OperationError instead of DataError when publicExponent for RSA key generation is not … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/status.cc
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
index b932f81d11b1e3639171467211dee5ff0c58c7cd..c68287aeba5043474ccbaa96c8051269f9b79da6 100644
--- a/content/child/webcrypto/status.cc
+++ b/content/child/webcrypto/status.cc
@@ -218,7 +218,7 @@ Status Status::ErrorInvalidAesKwDataLength() {
}
Status Status::ErrorGenerateKeyPublicExponent() {
- return Status(blink::WebCryptoErrorTypeData,
+ return Status(blink::WebCryptoErrorTypeOperation,
"The \"publicExponent\" must be either 3 or 65537");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698