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

index aa19e0a22353587d047909d6e45384f3e30819e8..9cfe2b15804b842fce48e21fd1503a984850a449 100644 (file)
@@ -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);
        }