]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
error: add new repeated parameter error
authorPauli <ppzgs1@gmail.com>
Mon, 4 Aug 2025 01:02:01 +0000 (11:02 +1000)
committerPauli <ppzgs1@gmail.com>
Fri, 8 Aug 2025 00:33:14 +0000 (10:33 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/28163)

crypto/err/openssl.txt
include/openssl/proverr.h
providers/common/provider_err.c

index e4e75c3b15cb5abda7d1902eee7399ce633a4ee2..a4add5d7ab9517325669c74c4d892da9a1b73c2b 100644 (file)
@@ -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
index 0d61b733dc59b3206238ebefa91f46a132ba4af1..91d084662883c7b3a2af3c3beb3aba7800e7c5e2 100644 (file)
 # 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
index ea727e8334d5068b6502d2dbe10d7abb9fff21c5..ca265b8f7c104c77f84a04fd5e5999382f1e164a 100644 (file)
@@ -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),