mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
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 */
|
||||
static struct {
|
||||
static const struct {
|
||||
int nid;
|
||||
uint16_t group_id;
|
||||
} nid_to_group[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user