提交 e42979f2 编写于 作者: B Bodo Möller

Dont' assume that something starting with '-' is a filename --

"openssl gendsa -help" now prints the usage summary, not error
messages that now file -help was found.
上级 b1816a04
......@@ -118,7 +118,7 @@ int MAIN(int argc, char **argv)
else if (strcmp(*argv,"-idea") == 0)
enc=EVP_idea_cbc();
#endif
else if (dsaparams == NULL)
else if (**argv != '-' && dsaparams == NULL)
{
dsaparams = *argv;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册