Show the error stack if there was an error writing early data in s_client
[openssl.git] / apps / s_client.c
index b3aedd20e7e43fb312c92136d3a3e3129865e6b3..975aa2fb447353a08250b37d9f016ed7d08a691c 100644 (file)
@@ -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;
                 }
             }