mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Test for lost HelloRequest
This commit is contained in:
parent
f1384470bf
commit
a6ace04c5c
2 changed files with 8 additions and 8 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue