commit | 29f777ef54483c5bc59d0e33f037e5b89aad635e | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Apr 03 17:26:50 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Apr 03 17:57:59 2015 +0200 |
tree | 1a6dc3d1ce7bf2acd2663f7dd03cd2281132e9be | |
parent | 32a7fe3fec4290fba52c73aeebfebb8ac6f3dad3 [diff] [blame] |
Fix bug with ssl_set_curves() check on client
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 37853bc..caeb6f3 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -1479,7 +1479,7 @@ SSL_DEBUG_MSG( 2, ( "ECDH curve: %s", curve_info->name ) ); -#if defined(POLARSSL_SSL_ECP_SET_CURVES) +#if defined(POLARSSL_SSL_SET_CURVES) if( ! ssl_curve_is_acceptable( ssl, ssl->handshake->ecdh_ctx.grp.id ) ) #else if( ssl->handshake->ecdh_ctx.grp.nbits < 163 ||