From: Dr. Stephen Henson Date: Sat, 17 Nov 2012 15:22:50 +0000 (+0000) Subject: fix error messages X-Git-Tag: master-post-reformat~1614 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9fc81acae6ff834eba861d3974680e68a84e666a;p=oweals%2Fopenssl.git fix error messages --- 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; }