From: Caolán McNamara Date: Sun, 13 Jul 2025 19:21:19 +0000 (+0100) Subject: const up ERR_str_libraries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=215167fe7e42e0dca7ae5754a5600ecbcf0940ea;p=thirdparty%2Fopenssl.git 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) --- 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"},