1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Add ecp_curve_list(), hide ecp_supported_curves

This commit is contained in:
Manuel Pégourié-Gonnard
2013-09-18 15:31:24 +02:00
committed by Paul Bakker
parent dace82f805
commit da179e4870
5 changed files with 22 additions and 12 deletions

View File

@ -240,7 +240,7 @@ static void ssl_write_supported_elliptic_curves_ext( ssl_context *ssl,
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++ )
{