commit | b541da6ef394d1da303a7408821c100a56a27bc2 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Jun 17 11:43:30 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Jun 17 14:27:38 2015 +0200 |
tree | ac8b003472bc161167adf1da3b7e081ecc6fb2e0 | |
parent | 6e3ee3ad43e2a194bdf462fb9ef9a46edad6484c [diff] [blame] |
Fix define for ssl_conf_curves() This is a security feature, it shouldn't be optional.
diff --git a/library/ssl_srv.c b/library/ssl_srv.c index 7db5a3c..554a552 100644 --- a/library/ssl_srv.c +++ b/library/ssl_srv.c
@@ -2641,7 +2641,7 @@ * } ServerECDHParams; */ const mbedtls_ecp_curve_info **curve = NULL; -#if defined(MBEDTLS_SSL_SET_CURVES) +#if defined(MBEDTLS_ECP_C) const mbedtls_ecp_group_id *gid; /* Match our preference list against the offered curves */