mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 18:26:58 +00:00
Don't progress TLS state machine on peer CRT chain parsing error
This commit is contained in:
parent
77adddc9e9
commit
fcd9e71cdf
|
@ -6039,7 +6039,7 @@ int mbedtls_ssl_parse_certificate( mbedtls_ssl_context *ssl )
|
|||
ssl_clear_peer_cert( ssl->session_negotiate );
|
||||
|
||||
if( ( ret = ssl_parse_certificate_chain( ssl ) ) != 0 )
|
||||
goto exit;
|
||||
return( ret );
|
||||
|
||||
#if defined(MBEDTLS_SSL__ECP_RESTARTABLE)
|
||||
if( ssl->handshake->ecrs_enabled)
|
||||
|
|
Loading…
Reference in a new issue