projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa2b248
)
argc counting bug fixed.
author
Bodo Möller
<bodo@openssl.org>
Tue, 11 May 1999 15:44:58 +0000
(15:44 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Tue, 11 May 1999 15:44:58 +0000
(15:44 +0000)
Submitted by: Tomas Hulek
Reviewed by:
PR:
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 2f87147a81333225043cac9cc416bc8c8c23912d..9107a5230d1917064ca65d8abbce7e8ba6bfe7aa 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-105,7
+105,7
@@
int MAIN(int argc, char **argv)
argc--;
argv++;
argc--;
argv++;
-
for (i=0; i<argc; i++
)
+
while (argc > 0
)
{
if ((*argv)[0] != '-') break;
if (strcmp(*argv,"-c") == 0)
{
if ((*argv)[0] != '-') break;
if (strcmp(*argv,"-c") == 0)