]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
evp_pkey_type: Make base_id_conversion table static
authorNorbert Pocs <norbertp@openssl.org>
Fri, 18 Jul 2025 06:55:18 +0000 (08:55 +0200)
committerNorbert Pocs <norbertp@openssl.org>
Fri, 18 Jul 2025 06:57:16 +0000 (08:57 +0200)
This commit fixes CI failures (when configured with --strict-warnings)

Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28061)

crypto/evp/evp_pkey_type.c

index 5361999086f0d50d35419b1f046a182a06a7bafd..15f1863a0594ea287794c4d79ccccf35db47d66e 100644 (file)
@@ -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},