From f357131a7b85de828957a2e94ffa8fc1b52edadb Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Fri, 20 May 2011 12:32:35 +0000 Subject: [PATCH] - Gather data until server gives EOF --- programs/ssl/ssl_client2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index fcfa89da0..404bbcb63 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -385,7 +385,7 @@ int main( int argc, char *argv[] ) len = ret; printf( " %d bytes read\n\n%s", len, (char *) buf ); } - while( 0 ); + while( 1 ); ssl_close_notify( &ssl );