summaryrefslogtreecommitdiffstats
path: root/providers/common
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-08-24 09:40:28 +1000
committerPauli <pauli@openssl.org>2021-08-26 09:33:39 +1000
commit31656f27855ddd477349f5960b29d605d32fe38d (patch)
treecfbe1817f12c487e02ffd17ae7f20fab2cca64d8 /providers/common
parent69b920bb134417213adce260e15da3f751922cf4 (diff)
Add invalid input length error
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16391)
Diffstat (limited to 'providers/common')
-rw-r--r--providers/common/provider_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/common/provider_err.c b/providers/common/provider_err.c
index d08192e64b..344c122112 100644
--- a/providers/common/provider_err.c
+++ b/providers/common/provider_err.c
@@ -80,6 +80,8 @@ static const ERR_STRING_DATA PROV_str_reasons[] = {
"invalid digest length"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_DIGEST_SIZE),
"invalid digest size"},
+ {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_INPUT_LENGTH),
+ "invalid input length"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_ITERATION_COUNT),
"invalid iteration count"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_IV_LENGTH), "invalid iv length"},