mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-01 08:20:36 +00:00
Remove restartable ECP return code check from ECDH suite handling
mbedtls_ecdh_read_params() is not restartable.
This commit is contained in:
parent
fb02e96cf5
commit
91cf7693b9
|
@ -2274,10 +2274,6 @@ static int ssl_parse_server_ecdh_params( mbedtls_ssl_context *ssl,
|
||||||
(const unsigned char **) p, end ) ) != 0 )
|
(const unsigned char **) p, end ) ) != 0 )
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_RET( 1, ( "mbedtls_ecdh_read_params" ), ret );
|
MBEDTLS_SSL_DEBUG_RET( 1, ( "mbedtls_ecdh_read_params" ), ret );
|
||||||
#if defined(MBEDTLS_SSL__ECP_RESTARTABLE)
|
|
||||||
if( ret == MBEDTLS_ERR_ECP_IN_PROGRESS )
|
|
||||||
ret = MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS;
|
|
||||||
#endif
|
|
||||||
return( ret );
|
return( ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue