summaryrefslogtreecommitdiff
path: root/providers
diff options
context:
space:
mode:
authorČestmír Kalina <ckalina@redhat.com>2022-12-02 06:46:15 -0500
committerPauli <pauli@openssl.org>2023-03-17 11:12:47 +1100
commit232dd87c55f66ecae906299cbea1ea7782241b64 (patch)
tree3d7566f5cb4834af12039f08242229a0e33d776e /providers
parentae1792e3d94bbd9f6c535f1784438011097adb4a (diff)
downloadopenssl-new-232dd87c55f66ecae906299cbea1ea7782241b64.tar.gz
proverr: add PROV_R_{INVALID_MEMORY_SIZE,INVALID_THREAD_POOL_SIZE}
Signed-off-by: Čestmír Kalina <ckalina@redhat.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12256)
Diffstat (limited to 'providers')
-rw-r--r--providers/common/provider_err.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/providers/common/provider_err.c b/providers/common/provider_err.c
index 954aabe80c..611ec847cb 100644
--- a/providers/common/provider_err.c
+++ b/providers/common/provider_err.c
@@ -92,6 +92,8 @@ static const ERR_STRING_DATA PROV_str_reasons[] = {
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_KEY_LENGTH),
"invalid key length"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_MAC), "invalid mac"},
+ {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_MEMORY_SIZE),
+ "invalid memory size"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_MGF1_MD), "invalid mgf1 md"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_MODE), "invalid mode"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_OUTPUT_LENGTH),
@@ -109,6 +111,8 @@ static const ERR_STRING_DATA PROV_str_reasons[] = {
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_TAG), "invalid tag"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_TAG_LENGTH),
"invalid tag length"},
+ {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_THREAD_POOL_SIZE),
+ "invalid thread pool size"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_UKM_LENGTH),
"invalid ukm length"},
{ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_X931_DIGEST),