Index: content/renderer/webcrypto/webcrypto_util.cc |
diff --git a/content/renderer/webcrypto/webcrypto_util.cc b/content/renderer/webcrypto/webcrypto_util.cc |
index 4c58125e34699801ec90260a6cb3ce56f1d4e00f..42e7b20465ad2086b773d5a39fc8e436f76d6af3 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"); |
} |