mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-27 23:37:08 +00:00
Replace handshake over in flight transmit
Fix deadloop in DTLS resumption test. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
c5826eaba2
commit
cfda4bbeac
@ -2343,7 +2343,7 @@ int mbedtls_ssl_flight_transmit( mbedtls_ssl_context *ssl )
|
||||
return( ret );
|
||||
|
||||
/* Update state and set timer */
|
||||
if( mbedtls_ssl_is_handshake_over( ssl ) == 1 )
|
||||
if( ssl->state == MBEDTLS_SSL_HANDSHAKE_OVER )
|
||||
ssl->handshake->retransmit_state = MBEDTLS_SSL_RETRANS_FINISHED;
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user