mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 12:15:38 +01:00
Fix unreachable code error
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
52e08cbcb2
commit
c3dde3f2f9
@ -4511,7 +4511,7 @@ int mbedtls_ssl_flight_transmit( mbedtls_ssl_context *ssl )
|
||||
ssl->handshake->retransmit_state = MBEDTLS_SSL_RETRANS_SENDING;
|
||||
|
||||
return( 0 );
|
||||
#endif /* MBEDTLS_IMMEDIATE_TRANSMISSION */
|
||||
#else
|
||||
|
||||
ssl->handshake->cur_msg = ssl->handshake->flight;
|
||||
ssl->handshake->cur_msg_p = ssl->handshake->flight->p + 12;
|
||||
@ -4519,6 +4519,7 @@ int mbedtls_ssl_flight_transmit( mbedtls_ssl_context *ssl )
|
||||
return( ret );
|
||||
|
||||
ssl->handshake->retransmit_state = MBEDTLS_SSL_RETRANS_SENDING;
|
||||
#endif /* MBEDTLS_IMMEDIATE_TRANSMISSION */
|
||||
}
|
||||
|
||||
while( ssl->handshake->cur_msg != NULL )
|
||||
|
Loading…
Reference in New Issue
Block a user