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)
This commit is contained in:
Hugo Landau 2023-11-27 07:52:54 +00:00
parent a87b6d1377
commit 3392a5690b

View File

@ -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[] = {