summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_conf.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-01-20 12:38:43 +0000
committerMatt Caswell <matt@openssl.org>2021-02-05 15:22:42 +0000
commit306b8e7e19f6c5019a9fc4050c5de6ebe7135c1f (patch)
treea43fb6227655f8270191cb2fdaf24146b7edc64c /ssl/ssl_conf.c
parent3de751e7f0791f5c9778faf44631555f05e24fad (diff)
Add the nist group names as aliases for the normal TLS group names
By recognising the nist group names directly we can avoid having to call EC_curve_nist2nid in libssl, which is not available in a no-ec build. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13916)
Diffstat (limited to 'ssl/ssl_conf.c')
-rw-r--r--ssl/ssl_conf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c
index 2e8240c73b..09e2ee2e3e 100644
--- a/ssl/ssl_conf.c
+++ b/ssl/ssl_conf.c
@@ -226,7 +226,6 @@ static int cmd_Curves(SSL_CONF_CTX *cctx, const char *value)
static int cmd_ECDHParameters(SSL_CONF_CTX *cctx, const char *value)
{
int rv = 1;
- int nid;
/* Ignore values supported by 1.0.2 for the automatic selection */
if ((cctx->flags & SSL_CONF_FLAG_FILE)