| Index: content/renderer/webcrypto/webcrypto_util.cc
|
| diff --git a/content/renderer/webcrypto/webcrypto_util.cc b/content/renderer/webcrypto/webcrypto_util.cc
|
| index 3124afa7dfdf2594f575ba43149d29a155896d17..dfc641f2b3796c0dbe42af620468e7ed5e97f5d0 100644
|
| --- a/content/renderer/webcrypto/webcrypto_util.cc
|
| +++ b/content/renderer/webcrypto/webcrypto_util.cc
|
| @@ -107,6 +107,10 @@ Status Status::ErrorUnexpectedKeyType() {
|
| return Status("The key is not of the expected type");
|
| }
|
|
|
| +Status Status::ErrorKeyAlgorithmMismatch() {
|
| + return Status("The key's algorithm doesn't match that of operation");
|
| +}
|
| +
|
| Status Status::ErrorIncorrectSizeAesCbcIv() {
|
| return Status("The \"iv\" has an unexpected length -- must be 16 bytes");
|
| }
|
|
|