From: Pauli Date: Mon, 4 Aug 2025 01:02:01 +0000 (+1000) Subject: error: add new repeated parameter error X-Git-Tag: openssl-3.6.0-alpha1~245 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5614c6f7e4c20388b775aa27676df85683bed220;p=thirdparty%2Fopenssl.git error: add new repeated parameter error Reviewed-by: Matt Caswell Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/28163) --- diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index e4e75c3b15c..a4add5d7ab9 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -1167,6 +1167,7 @@ PROV_R_PARENT_STRENGTH_TOO_WEAK:194:parent strength too weak PROV_R_PATH_MUST_BE_ABSOLUTE:219:path must be absolute PROV_R_PERSONALISATION_STRING_TOO_LONG:195:personalisation string too long PROV_R_PSS_SALTLEN_TOO_SMALL:172:pss saltlen too small +PROV_R_REPEATED_PARAMETER:252:repeated parameter PROV_R_REQUEST_TOO_LARGE_FOR_DRBG:196:request too large for drbg PROV_R_REQUIRE_CTR_MODE_CIPHER:206:require ctr mode cipher PROV_R_RESEED_ERROR:197:reseed error diff --git a/include/openssl/proverr.h b/include/openssl/proverr.h index 0d61b733dc5..91d08466288 100644 --- a/include/openssl/proverr.h +++ b/include/openssl/proverr.h @@ -133,6 +133,7 @@ # define PROV_R_PATH_MUST_BE_ABSOLUTE 219 # define PROV_R_PERSONALISATION_STRING_TOO_LONG 195 # define PROV_R_PSS_SALTLEN_TOO_SMALL 172 +# define PROV_R_REPEATED_PARAMETER 252 # define PROV_R_REQUEST_TOO_LARGE_FOR_DRBG 196 # define PROV_R_REQUIRE_CTR_MODE_CIPHER 206 # define PROV_R_RESEED_ERROR 197 diff --git a/providers/common/provider_err.c b/providers/common/provider_err.c index ea727e8334d..ca265b8f7c1 100644 --- a/providers/common/provider_err.c +++ b/providers/common/provider_err.c @@ -192,6 +192,8 @@ static const ERR_STRING_DATA PROV_str_reasons[] = { "personalisation string too long"}, {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_PSS_SALTLEN_TOO_SMALL), "pss saltlen too small"}, + {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_REPEATED_PARAMETER), + "repeated parameter"}, {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_REQUEST_TOO_LARGE_FOR_DRBG), "request too large for drbg"}, {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_REQUIRE_CTR_MODE_CIPHER),