projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1816a0
)
Dont' assume that something starting with '-' is a filename --
author
Bodo Möller
<bodo@openssl.org>
Fri, 6 Aug 1999 11:18:44 +0000
(11:18 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 6 Aug 1999 11:18:44 +0000
(11:18 +0000)
"openssl gendsa -help" now prints the usage summary, not error
messages that now file -help was found.
apps/gendsa.c
patch
|
blob
|
history
diff --git
a/apps/gendsa.c
b/apps/gendsa.c
index dc0b2165fd6d5fb55c8364a9e665f4c7c61e7b53..5f00b89bb0ed23ffdc6886714b1d5874db3fba6a 100644
(file)
--- 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;
}