mirror of
https://github.com/espressif/mbedtls.git
synced 2026-08-21 18:59:51 +00:00
Revert change in flight transmit
Signed-off-by: Jerry Yu <[email protected]>
This commit is contained in:
+1
-1
@@ -2343,7 +2343,7 @@ int mbedtls_ssl_flight_transmit( mbedtls_ssl_context *ssl )
|
||||
return( ret );
|
||||
|
||||
/* Update state and set timer */
|
||||
if( ssl->state == MBEDTLS_SSL_HANDSHAKE_OVER )
|
||||
if( mbedtls_ssl_is_handshake_over( ssl ) == 1 )
|
||||
ssl->handshake->retransmit_state = MBEDTLS_SSL_RETRANS_FINISHED;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user