mirror of https://github.com/openssl/openssl.git
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:
parent
a87b6d1377
commit
3392a5690b
|
@ -140,7 +140,7 @@ int tls1_clear(SSL *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Legacy NID to group_id mapping. Only works for groups we know about */
|
/* Legacy NID to group_id mapping. Only works for groups we know about */
|
||||||
static struct {
|
static const struct {
|
||||||
int nid;
|
int nid;
|
||||||
uint16_t group_id;
|
uint16_t group_id;
|
||||||
} nid_to_group[] = {
|
} nid_to_group[] = {
|
||||||
|
|
Loading…
Reference in New Issue