From: Norbert Pocs Date: Fri, 18 Jul 2025 06:55:18 +0000 (+0200) Subject: evp_pkey_type: Make base_id_conversion table static X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c315f98f715fc6eb2170bb9e08bd3e138cc02f1a;p=thirdparty%2Fopenssl.git evp_pkey_type: Make base_id_conversion table static This commit fixes CI failures (when configured with --strict-warnings) Signed-off-by: Norbert Pocs Reviewed-by: Neil Horman Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/28061) --- diff --git a/crypto/evp/evp_pkey_type.c b/crypto/evp/evp_pkey_type.c index 5361999086f..15f1863a059 100644 --- a/crypto/evp/evp_pkey_type.c +++ b/crypto/evp/evp_pkey_type.c @@ -31,7 +31,7 @@ struct pkid2bid { int pkey_base_id; }; -const struct pkid2bid base_id_conversion[] = { +static const struct pkid2bid base_id_conversion[] = { {EVP_PKEY_RSA, EVP_PKEY_RSA}, {EVP_PKEY_RSA2, EVP_PKEY_RSA}, {EVP_PKEY_RSA_PSS, EVP_PKEY_RSA_PSS},