Fix option processing.

Submitted by: Sam Tetherow
This commit is contained in:
Bodo Möller 1999-07-14 18:37:51 +00:00
parent b5b22731f1
commit c69e361f1c

View file

@ -108,10 +108,6 @@ int MAIN(int argc, char **argv)
}
else if (strcmp(*argv,"-") == 0)
goto bad;
else if (dsaparams == NULL)
{
dsaparams= *argv;
}
#ifndef NO_DES
else if (strcmp(*argv,"-des") == 0)
enc=EVP_des_cbc();
@ -122,6 +118,10 @@ int MAIN(int argc, char **argv)
else if (strcmp(*argv,"-idea") == 0)
enc=EVP_idea_cbc();
#endif
else if (dsaparams == NULL)
{
dsaparams = *argv;
}
else
goto bad;
argv++;