From 3392a5690bf304ad7938e69a80f39f349e61ab7c Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 27 Nov 2023 07:52:54 +0000 Subject: [PATCH] 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) --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = { -- 2.47.2