From: Hugo Landau Date: Mon, 27 Nov 2023 07:52:54 +0000 (+0000) Subject: Make nid_to_group read-only X-Git-Tag: openssl-3.3.0-alpha1~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3392a5690bf304ad7938e69a80f39f349e61ab7c;p=thirdparty%2Fopenssl.git Make nid_to_group read-only Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/22828) --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 631e1fdef93..236c1b49a78 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -140,7 +140,7 @@ int tls1_clear(SSL *s) } /* Legacy NID to group_id mapping. Only works for groups we know about */ -static struct { +static const struct { int nid; uint16_t group_id; } nid_to_group[] = {