Fix define for ssl_conf_curves()
This is a security feature, it shouldn't be optional.
This commit is contained in:
parent
6e3ee3ad43
commit
b541da6ef3
9 changed files with 14 additions and 35 deletions
|
@ -2641,7 +2641,7 @@ static int ssl_write_server_key_exchange( mbedtls_ssl_context *ssl )
|
|||
* } 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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue