Add output flushing after each message transmission

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2020-12-18 15:07:02 -05:00
parent e6c3aa7e7b
commit 0719b3c129

View File

@ -4539,6 +4539,9 @@ static int ssl_flight_append( mbedtls_ssl_context *ssl )
MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_ssl_flight_transmit_msg", ret ); MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_ssl_flight_transmit_msg", ret );
return( ret ); return( ret );
} }
if( ( ret = mbedtls_ssl_flush_output( ssl ) ) != 0 )
return( ret );
} }
} }
#endif #endif