From 215167fe7e42e0dca7ae5754a5600ecbcf0940ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 13 Jul 2025 20:21:19 +0100 Subject: [PATCH] const up ERR_str_libraries CLA: trivial move this symbol out of the .data section Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/28029) --- crypto/err/err.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/err/err.c b/crypto/err/err.c index 167b66ed6bf..e9228d66a3c 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -35,7 +35,7 @@ static int err_load_strings(const ERR_STRING_DATA *str); #endif #ifndef OPENSSL_NO_ERR -static ERR_STRING_DATA ERR_str_libraries[] = { +static const ERR_STRING_DATA ERR_str_libraries[] = { {ERR_PACK(ERR_LIB_NONE, 0, 0), "unknown library"}, {ERR_PACK(ERR_LIB_SYS, 0, 0), "system library"}, {ERR_PACK(ERR_LIB_BN, 0, 0), "bignum routines"}, -- 2.47.3