projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
argc counting bug fixed.
[openssl.git]
/
apps
/
dgst.c
diff --git
a/apps/dgst.c
b/apps/dgst.c
index
2f87147
..
9107a52
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)