mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Fix issue with renego & resend
This commit is contained in:
committed by
Paul Bakker
parent
8cc7e03ae0
commit
23b7b703aa
@ -2206,7 +2206,10 @@ int ssl_resend( ssl_context *ssl )
|
||||
}
|
||||
}
|
||||
|
||||
ssl->handshake->retransmit_state = SSL_RETRANS_WAITING;
|
||||
if( ssl->state == SSL_HANDSHAKE_OVER )
|
||||
ssl->handshake->retransmit_state = SSL_RETRANS_FINISHED;
|
||||
else
|
||||
ssl->handshake->retransmit_state = SSL_RETRANS_WAITING;
|
||||
|
||||
SSL_DEBUG_MSG( 2, ( "<= ssl_resend" ) );
|
||||
|
||||
|
Reference in New Issue
Block a user