projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2e07f
)
fix error messages
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 17 Nov 2012 15:22:50 +0000
(15:22 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 17 Nov 2012 15:22:50 +0000
(15:22 +0000)
apps/s_cb.c
patch
|
blob
|
history
diff --git
a/apps/s_cb.c
b/apps/s_cb.c
index 630321bc4ccb4be85ad4c8d272a88757b0d49aff..58d0da8e97a4e6822c916e935ac6b5a0552c0dd3 100644
(file)
--- 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;
}