Commit e42979f2 authored by Bodo Möller's avatar Bodo Möller
Browse files

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.
parent b1816a04
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -118,7 +118,7 @@ int MAIN(int argc, char **argv)
		else if (strcmp(*argv,"-idea") == 0)
		else if (strcmp(*argv,"-idea") == 0)
			enc=EVP_idea_cbc();
			enc=EVP_idea_cbc();
#endif
#endif
		else if (dsaparams == NULL)
		else if (**argv != '-' && dsaparams == NULL)
			{
			{
			dsaparams = *argv;
			dsaparams = *argv;
			}
			}