summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-11-27 07:52:54 +0000
committerHugo Landau <hlandau@openssl.org>2023-11-27 07:52:54 +0000
commit3392a5690bf304ad7938e69a80f39f349e61ab7c (patch)
tree45858222875f7e1338cc34aba07484b5fbc9037c /ssl
parenta87b6d1377e7b18ec17edf0f34d5cd797ce947c5 (diff)
Make nid_to_group read-only
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/22828)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 631e1fdef9..236c1b49a7 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[] = {