mirror of
https://github.com/openssl/openssl.git
synced 2024-11-25 19:13:48 +08:00
argc counting bug fixed.
Submitted by: Tomas Hulek Reviewed by: PR:
This commit is contained in:
parent
fa2b248f23
commit
54a29df0ec
@ -105,7 +105,7 @@ int MAIN(int argc, char **argv)
|
||||
|
||||
argc--;
|
||||
argv++;
|
||||
for (i=0; i<argc; i++)
|
||||
while (argc > 0)
|
||||
{
|
||||
if ((*argv)[0] != '-') break;
|
||||
if (strcmp(*argv,"-c") == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user