Home | History | Annotate | Download | only in apps

Lines Matching refs:argv

100 int MAIN(int argc, char **argv)
134 prog=argv[0];
136 argv++;
139 if (strcmp(*argv,"-inform") == 0)
142 informat=str2fmt(*(++argv));
144 else if (strcmp(*argv,"-outform") == 0)
147 outformat=str2fmt(*(++argv));
149 else if (strcmp(*argv,"-in") == 0)
152 infile= *(++argv);
154 else if (strcmp(*argv,"-out") == 0)
157 outfile= *(++argv);
159 else if (strcmp(*argv,"-passin") == 0)
162 passargin= *(++argv);
164 else if (strcmp(*argv,"-passout") == 0)
167 passargout= *(++argv);
170 else if (strcmp(*argv,"-engine") == 0)
173 engine= *(++argv);
176 else if (strcmp(*argv,"-sgckey") == 0)
178 else if (strcmp(*argv,"-pubin") == 0)
180 else if (strcmp(*argv,"-pubout") == 0)
182 else if (strcmp(*argv,"-RSAPublicKey_in") == 0)
184 else if (strcmp(*argv,"-RSAPublicKey_out") == 0)
186 else if (strcmp(*argv,"-pvk-strong") == 0)
188 else if (strcmp(*argv,"-pvk-weak") == 0)
190 else if (strcmp(*argv,"-pvk-none") == 0)
192 else if (strcmp(*argv,"-noout") == 0)
194 else if (strcmp(*argv,"-text") == 0)
196 else if (strcmp(*argv,"-modulus") == 0)
198 else if (strcmp(*argv,"-check") == 0)
200 else if ((enc=EVP_get_cipherbyname(&(argv[0][1]))) == NULL)
202 BIO_printf(bio_err,"unknown option %s\n",*argv);
207 argv++;