Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).
authorLutz Jänicke <jaenicke@openssl.org>
Tue, 16 Oct 2001 14:24:46 +0000 (14:24 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Tue, 16 Oct 2001 14:24:46 +0000 (14:24 +0000)
apps/s_client.c

index 7429a9b..2c9ae35 100644 (file)
@@ -925,5 +925,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);
        }