Test for lost HelloRequest
diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c
index 39e3a41..fcf8d19 100644
--- a/programs/ssl/ssl_server2.c
+++ b/programs/ssl/ssl_server2.c
@@ -1914,9 +1914,9 @@
/*
* 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 );