summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-10-16 14:25:27 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-10-16 14:25:27 +0000
commitb914a547e187fca6d58752e5f4ccbb7f770bf941 (patch)
treebf6600176fdb974cba843493178d7aef7f6d02e3 /apps
parent03b148f4a9e8080244a968befa75e3fdab0a8da6 (diff)
Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index aa19e0a223..9cfe2b1580 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);
}