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

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

Issue 197223007: [webcrypto] Remove support for null import algorithms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/status.h ('k') | content/child/webcrypto/webcrypto_impl.h » ('j') | 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 a80dbd7438253354696383299b8c01d3df7f1384..9e462d87b450eecd86f6991e285f978f1def3cca 100644
--- a/content/child/webcrypto/status.cc
+++ b/content/child/webcrypto/status.cc
@@ -57,12 +57,6 @@ Status Status::ErrorJwkAlgorithmInconsistent() {
"by the Web Crypto call");
}
-Status Status::ErrorJwkAlgorithmMissing() {
- return Status(
- "The JWK optional \"alg\" property is missing or not a string, "
- "and one wasn't specified by the Web Crypto call");
-}
-
Status Status::ErrorJwkUnrecognizedUse() {
return Status("The JWK \"use\" property could not be parsed");
}
@@ -151,18 +145,6 @@ Status Status::ErrorGenerateKeyPublicExponent() {
return Status("The \"publicExponent\" is either empty, zero, or too large");
}
-Status Status::ErrorMissingAlgorithmImportRawKey() {
- return Status(
- "The key's algorithm must be specified when importing "
- "raw-formatted key.");
-}
-
-Status Status::ErrorMissingAlgorithmUnwrapRawKey() {
- return Status(
- "The key's algorithm must be specified when unwrapping a "
- "raw-formatted key.");
-}
-
Status Status::ErrorImportRsaEmptyModulus() {
return Status("The modulus is empty");
}
« no previous file with comments | « content/child/webcrypto/status.h ('k') | content/child/webcrypto/webcrypto_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698