projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90bc6c
)
Fix the MAX_CURVELIST definition
author
Matt Caswell
<matt@openssl.org>
Tue, 24 Apr 2018 09:10:39 +0000
(10:10 +0100)
committer
Matt Caswell
<matt@openssl.org>
Wed, 25 Apr 2018 09:20:43 +0000
(10:20 +0100)
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)
ssl/t1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/t1_lib.c
b/ssl/t1_lib.c
index b777b3acbb5faf1506553282155a288e6eed4445..6f4923d5b6687b07d6c706447bbfe530f6f3b619 100644
(file)
--- 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;