From: Matt Caswell Date: Fri, 21 Jul 2017 10:40:28 +0000 (+0100) Subject: Show the error stack if there was an error writing early data in s_client X-Git-Tag: OpenSSL_1_1_1-pre1~722 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=dd5b98c55a64f574958a1a8aef2546692ff30ad9 Show the error stack if there was an error writing early data in s_client Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/3926) --- diff --git a/apps/s_client.c b/apps/s_client.c index b3aedd20e7..975aa2fb44 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -2647,6 +2647,7 @@ int s_client_main(int argc, char **argv) default: BIO_printf(bio_err, "Error writing early data\n"); BIO_free(edfile); + ERR_print_errors(bio_err); goto shut; } }