mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Test for lost HelloRequest
This commit is contained in:
committed by
Paul Bakker
parent
f1384470bf
commit
a6ace04c5c
@ -1914,9 +1914,9 @@ data_exchange:
|
||||
|
||||
/*
|
||||
* 7a. Request renegotiation while client is waiting for input from us.
|
||||
* (only if we're going to exhange more data afterwards)
|
||||
* (only on the first exchange, to be able to test retransmission)
|
||||
*/
|
||||
if( opt.renegotiate && exchanges > 1 )
|
||||
if( opt.renegotiate && exchanges == opt.exchanges )
|
||||
{
|
||||
printf( " . Requestion renegotiation..." );
|
||||
fflush( stdout );
|
||||
|
Reference in New Issue
Block a user