Index: content/renderer/webcrypto/webcrypto_util.cc |
diff --git a/content/renderer/webcrypto/webcrypto_util.cc b/content/renderer/webcrypto/webcrypto_util.cc |
index 29b0713d62bcb201c3807bf834f67e6fff8fd999..7581ef7e34485ef7a9bf7591481c8a217562358c 100644 |
--- a/content/renderer/webcrypto/webcrypto_util.cc |
+++ b/content/renderer/webcrypto/webcrypto_util.cc |
@@ -92,6 +92,11 @@ Status Status::ErrorJwkUnrecognizedKty() { |
return Status("The JWK \"kty\" property was unrecognized"); |
} |
+Status Status::ErrorJwkIncorrectKeyLength() { |
+ return Status("The JWK \"k\" property did not include the right length " |
+ "of key data for the given algorithm."); |
+} |
+ |
Status Status::ErrorImportEmptyKeyData() { |
return Status("No key data was provided"); |
} |