Use ecdh_setup instead of ecp_group_load
Align files with development to ensure the same state of repositories.
This commit is contained in:
parent
c470b6b021
commit
f093a3dc61
2 changed files with 3 additions and 3 deletions
|
@ -3088,8 +3088,8 @@ curve_matching_done:
|
|||
|
||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "ECDHE curve: %s", (*curve)->name ) );
|
||||
|
||||
if( ( ret = mbedtls_ecp_group_load( &ssl->handshake->ecdh_ctx.grp,
|
||||
(*curve)->grp_id ) ) != 0 )
|
||||
if( ( ret = mbedtls_ecdh_setup( &ssl->handshake->ecdh_ctx,
|
||||
(*curve)->grp_id ) ) != 0 )
|
||||
{
|
||||
MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_ecp_group_load", ret );
|
||||
return( ret );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue