diff options
author | Bodo Möller <bodo@openssl.org> | 1999-08-06 11:18:44 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-08-06 11:18:44 +0000 |
commit | e42979f2c58e0ec41cb46400ec0a11482ef9058c (patch) | |
tree | b1e87463892994aafaa90c6daddcdff9d0c485be /apps | |
parent | b1816a0408c59be119600fa49f8846a8c854c239 (diff) |
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.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gendsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gendsa.c b/apps/gendsa.c index dc0b2165fd..5f00b89bb0 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c @@ -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; } |