synchronize with engine branch (some changes were done only
[oweals/openssl.git] / 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);
        }