diff options
author | Matt Caswell <matt@openssl.org> | 2018-04-24 10:10:39 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-04-25 10:20:43 +0100 |
commit | ca50cd911ca3c9dc9ec8dd956f8eb45557585a98 (patch) | |
tree | 86bf3e97141e205efa9ec81f6c9f3f253c22a52f /ssl/t1_lib.c | |
parent | f90bc6c5cb9ca4d97730ff63e6d34fd94047893e (diff) |
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)
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index b777b3acbb..6f4923d5b6 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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; |