X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fs_client.c;h=9cfe2b15804b842fce48e21fd1503a984850a449;hb=1532a839fc3bfd6240d56997ec0df13cbaa5b868;hp=323358836c09f8e301ff551f3d4e8522fb00aea1;hpb=ad45ed9f5c6cdcf259bd7ebd207b581e26d7136c;p=oweals%2Fopenssl.git diff --git a/apps/s_client.c b/apps/s_client.c index 323358836c..9cfe2b1580 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -79,6 +79,7 @@ typedef unsigned int u_int; #include #include #include +#include #include "s_apps.h" #ifdef WINDOWS @@ -895,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); }