Index: content/child/webcrypto/status.cc |
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc |
index 9439c933db13e999fb7dec2deaf30eac2b33c9da..9c53f061de46302e9df331944400768d3d49257d 100644 |
--- a/content/child/webcrypto/status.cc |
+++ b/content/child/webcrypto/status.cc |
@@ -195,6 +195,12 @@ Status Status::ErrorGenerateRsaZeroModulus() { |
"The modulus bit length cannot be zero"); |
} |
+Status Status::ErrorGenerateRsaUnsupportedModulus() { |
+ return Status(blink::WebCryptoErrorTypeNotSupported, |
+ "The modulus length must be a multiple of 8 bits and >= 256 " |
+ "and <= 16384"); |
+} |
+ |
Status Status::ErrorImportRsaEmptyExponent() { |
return Status(blink::WebCryptoErrorTypeData, |
"No bytes for the exponent were provided"); |