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.
This commit is contained in:
parent
b1816a0408
commit
e42979f2c5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue