Index: content/child/webcrypto/status.cc |
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc |
index 9439c933db13e999fb7dec2deaf30eac2b33c9da..666f225aac3bd3715fa0b760ec2ece62bf26d5df 100644 |
--- a/content/child/webcrypto/status.cc |
+++ b/content/child/webcrypto/status.cc |
@@ -190,9 +190,10 @@ Status Status::ErrorImportRsaEmptyModulus() { |
return Status(blink::WebCryptoErrorTypeData, "The modulus is empty"); |
} |
-Status Status::ErrorGenerateRsaZeroModulus() { |
- return Status(blink::WebCryptoErrorTypeData, |
- "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() { |