提交 9fc81aca 编写于 作者: D Dr. Stephen Henson

fix error messages

上级 5d2e07f1
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册