From: Simo Sorce Date: Thu, 8 Jan 2026 19:04:37 +0000 (-0500) Subject: Fix max index define that was not updated X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fe8dc019abca7f37b2a68559485770fe2c429d;p=thirdparty%2Fopenssl.git Fix max index define that was not updated In PR #29145 a new OSSL_LIB_CTX_SSL_CONF_IMODULE was added, but the OSSL_LIB_CTX_MAX_INDEXES value was left behind. This should probably be converted to an enum, but I'll leave that work to some other brave soul. Signed-off-by: Simo Sorce Reviewed-by: Paul Dale Reviewed-by: Eugene Syromiatnikov (Merged from https://github.com/openssl/openssl/pull/29581) --- diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index 545696b7152..6b827dd0080 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -117,8 +117,8 @@ typedef struct ossl_ex_data_global_st { #define OSSL_LIB_CTX_DECODER_CACHE_INDEX 20 #define OSSL_LIB_CTX_COMP_METHODS 21 #define OSSL_LIB_CTX_INDICATOR_CB_INDEX 22 -#define OSSL_LIB_CTX_MAX_INDEXES 22 #define OSSL_LIB_CTX_SSL_CONF_IMODULE 23 +#define OSSL_LIB_CTX_MAX_INDEXES 23 OSSL_LIB_CTX *ossl_lib_ctx_get_concrete(OSSL_LIB_CTX *ctx); int ossl_lib_ctx_is_default(OSSL_LIB_CTX *ctx);