diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2017-04-07 09:02:06 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-04-28 15:49:36 +0200 |
commit | 67887855af3bfbf3f44b246aa83db6faeddae886 (patch) | |
tree | 84d6298490ed7d1733f89f4e2f334a53cfd56b40 /apps/s_client.c | |
parent | 28e5ea88a8fe93aa6dd023a5abd54f01c1ad6450 (diff) |
Output prog name within error message
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3141)
Diffstat (limited to 'apps/s_client.c')
-rw-r--r-- | apps/s_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index d7a3a80e2b..c86d36c5b6 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -1487,17 +1487,17 @@ int s_client_main(int argc, char **argv) } #endif if (max_send_fragment > SSL3_RT_MAX_PLAIN_LENGTH) { - BIO_printf(bio_err, "Bad max send fragment size\n"); + BIO_printf(bio_err, "%s: Bad max send fragment size\n", prog); goto end; } if (split_send_fragment > SSL3_RT_MAX_PLAIN_LENGTH) { - BIO_printf(bio_err, "Bad split send fragment size\n"); + BIO_printf(bio_err, "%s: Bad split send fragment size\n", prog); goto end; } if (max_pipelines > SSL_MAX_PIPELINES) { - BIO_printf(bio_err, "Bad max pipelines value\n"); + BIO_printf(bio_err, "%s: Bad max pipelines value\n", prog); goto end; } |