diff --git a/programs/ssl/ssl_fork_server.c b/programs/ssl/ssl_fork_server.c index 7e489dafa..5ea79b353 100644 --- a/programs/ssl/ssl_fork_server.c +++ b/programs/ssl/ssl_fork_server.c @@ -336,7 +336,7 @@ int main( int argc, char *argv[] ) len = sprintf( (char *) buf, HTTP_RESPONSE, ssl_get_ciphersuite( &ssl ) ); - while( cnt < 100 ) + while( cnt++ < 100 ) { while( ( ret = ssl_write( &ssl, buf, len ) ) <= 0 ) {