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

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

Issue 401233004: Refactor RSA key generation for WebCrypto's NSS implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index 29bebe555261f9a8802702af7affd1a553942f97..e8ec6d47ebedf8dd908bde4a2de40a1db859ac16 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -176,9 +176,12 @@ class CONTENT_EXPORT Status {
// The modulus bytes were empty when importing an RSA public key.
static Status ErrorImportRsaEmptyModulus();
- // The the modulus length was zero bits when generating an RSA public key.
+ // The modulus length was zero bits when generating an RSA key pair.
static Status ErrorGenerateRsaZeroModulus();
+ // The modulus length was unsupported when generating an RSA key pair.
+ static Status ErrorGenerateRsaUnsupportedModulus();
+
// The exponent bytes were empty when importing an RSA public key.
static Status ErrorImportRsaEmptyExponent();

Powered by Google App Engine
This is Rietveld 408576698