commit | da179e48705a9948834348220425e92b3d9ca9b6 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Sep 18 15:31:24 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Sep 18 15:37:44 2013 +0200 |
tree | 7ec8e75415136ab6f2976dac5c61179c104456e5 | |
parent | dace82f8053fecacd021578f11ab8627a183ec82 [diff] [blame] |
Add ecp_curve_list(), hide ecp_supported_curves
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index bfdd7e4..b134b92 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -240,7 +240,7 @@ SSL_DEBUG_MSG( 3, ( "client hello, adding supported_elliptic_curves extension" ) ); - for( curve = ecp_supported_curves; + for( curve = ecp_curve_list(); curve->grp_id != POLARSSL_ECP_DP_NONE; curve++ ) {