diff --git a/apps/s_client.c b/apps/s_client.c index aa19e0a22..9cfe2b158 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -896,5 +896,7 @@ static void print_stuff(BIO *bio, SSL *s, int full) BIO_printf(bio,"---\n"); if (peer != NULL) X509_free(peer); + /* flush, or debugging output gets mixed with http response */ + BIO_flush(bio); }