Fix the MAX_CURVELIST definition
The MAX_CURVELIST macro defines the total number of in-built SSL/TLS curves that we support. However it has not been updated as new curves are added. Fixes #5232 Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/6065)
This commit is contained in:
parent
f90bc6c5cb
commit
ca50cd911c
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ int tls1_set_groups(uint16_t **pext, size_t *pextlen,
|
|||
return 1;
|
||||
}
|
||||
|
||||
# define MAX_CURVELIST 28
|
||||
# define MAX_CURVELIST OSSL_NELEM(nid_list)
|
||||
|
||||
typedef struct {
|
||||
size_t nidcnt;
|
||||
|
|
Loading…
Reference in a new issue