aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-11-17 15:22:50 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-11-17 15:22:50 +0000
commit9fc81acae6ff834eba861d3974680e68a84e666a (patch)
tree3d2f14308f3a81b21fc4121db998db8b7e53ce61 /apps
parent5d2e07f182f3841c14400fd4fb56f94b06fc7427 (diff)
downloadopenssl-9fc81acae6ff834eba861d3974680e68a84e666a.tar.gz
fix error messages
Diffstat (limited to 'apps')
-rw-r--r--apps/s_cb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 630321bc4c..58d0da8e97 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -1561,14 +1561,15 @@ int args_ssl(char ***pargs, int *pargc, SSL_CONF_CTX *cctx,
/* see if missing argument error */
if (rv == -3)
{
- BIO_printf(err, "-%s needs an argument\n", arg);
+ BIO_printf(err, "%s needs an argument\n", arg);
*badarg = 1;
goto end;
}
/* Check for some other error */
if (rv < 0)
{
- BIO_printf(err, "-%s %s: failed.\n", arg, argn);
+ BIO_printf(err, "Error with command: \"%s %s\"\n",
+ arg, argn ? argn : "");
*badarg = 1;
goto end;
}