Lines Matching refs:argv
86 int MAIN(int argc, char **argv)
122 prog = argv[0];
124 argv++;
127 if (strcmp(*argv,"-inform") == 0)
130 informat=str2fmt(*(++argv));
132 else if (strcmp(*argv,"-outform") == 0)
135 outformat=str2fmt(*(++argv));
137 else if (strcmp(*argv,"-in") == 0)
140 infile= *(++argv);
142 else if (strcmp(*argv,"-out") == 0)
145 outfile= *(++argv);
147 else if (strcmp(*argv,"-passin") == 0)
150 passargin= *(++argv);
152 else if (strcmp(*argv,"-passout") == 0)
155 passargout= *(++argv);
157 else if (strcmp(*argv, "-engine") == 0)
160 engine= *(++argv);
162 else if (strcmp(*argv, "-noout") == 0)
164 else if (strcmp(*argv, "-text") == 0)
166 else if (strcmp(*argv, "-conv_form") == 0)
170 ++argv;
172 if (strcmp(*argv, "compressed") == 0)
174 else if (strcmp(*argv, "uncompressed") == 0)
176 else if (strcmp(*argv, "hybrid") == 0)
181 else if (strcmp(*argv, "-param_enc") == 0)
185 ++argv;
187 if (strcmp(*argv, "named_curve") == 0)
189 else if (strcmp(*argv, "explicit") == 0)
194 else if (strcmp(*argv, "-param_out") == 0)
196 else if (strcmp(*argv, "-pubin") == 0)
198 else if (strcmp(*argv, "-pubout") == 0)
200 else if ((enc=EVP_get_cipherbyname(&(argv[0][1]))) == NULL)
202 BIO_printf(bio_err, "unknown option %s\n", *argv);
207 argv++;