Lines Matching refs:argv
86 int MAIN(int argc, char **argv)
119 prog = argv[0];
121 argv++;
124 if (strcmp(*argv,"-inform") == 0)
127 informat=str2fmt(*(++argv));
129 else if (strcmp(*argv,"-outform") == 0)
132 outformat=str2fmt(*(++argv));
134 else if (strcmp(*argv,"-in") == 0)
137 infile= *(++argv);
139 else if (strcmp(*argv,"-out") == 0)
142 outfile= *(++argv);
144 else if (strcmp(*argv,"-passin") == 0)
147 passargin= *(++argv);
149 else if (strcmp(*argv,"-passout") == 0)
152 passargout= *(++argv);
154 else if (strcmp(*argv, "-engine") == 0)
157 engine= *(++argv);
159 else if (strcmp(*argv, "-noout") == 0)
161 else if (strcmp(*argv, "-text") == 0)
163 else if (strcmp(*argv, "-conv_form") == 0)
167 ++argv;
169 if (strcmp(*argv, "compressed") == 0)
171 else if (strcmp(*argv, "uncompressed") == 0)
173 else if (strcmp(*argv, "hybrid") == 0)
178 else if (strcmp(*argv, "-param_enc") == 0)
182 ++argv;
184 if (strcmp(*argv, "named_curve") == 0)
186 else if (strcmp(*argv, "explicit") == 0)
191 else if (strcmp(*argv, "-param_out") == 0)
193 else if (strcmp(*argv, "-pubin") == 0)
195 else if (strcmp(*argv, "-pubout") == 0)
197 else if ((enc=EVP_get_cipherbyname(&(argv[0][1]))) == NULL)
199 BIO_printf(bio_err, "unknown option %s\n", *argv);
204 argv++;