mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
Add ecp_curve_list(), hide ecp_supported_curves
This commit is contained in:
parent
dace82f805
commit
da179e4870
5 changed files with 22 additions and 12 deletions
|
|
@ -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++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue