Lines Matching full:argv
169 int MAIN(int argc, char **argv)
242 argv++;
246 if (strcmp(*argv,"-inform") == 0)
249 informat=str2fmt(*(++argv));
251 else if (strcmp(*argv,"-outform") == 0)
254 outformat=str2fmt(*(++argv));
256 else if (strcmp(*argv,"-keyform") == 0)
259 keyformat=str2fmt(*(++argv));
261 else if (strcmp(*argv,"-req") == 0)
266 else if (strcmp(*argv,"-CAform") == 0)
269 CAformat=str2fmt(*(++argv));
271 else if (strcmp(*argv,"-CAkeyform") == 0)
274 CAkeyformat=str2fmt(*(++argv));
276 else if (strcmp(*argv,"-sigopt") == 0)
282 if (!sigopts || !sk_OPENSSL_STRING_push(sigopts, *(++argv)))
285 else if (strcmp(*argv,"-days") == 0)
288 days=atoi(*(++argv));
295 else if (strcmp(*argv,"-passin") == 0)
298 passargin= *(++argv);
300 else if (strcmp(*argv,"-extfile") == 0)
303 extfile= *(++argv);
305 else if (strcmp(*argv,"-extensions") == 0)
308 extsect= *(++argv);
310 else if (strcmp(*argv,"-in") == 0)
313 infile= *(++argv);
315 else if (strcmp(*argv,"-out") == 0)
318 outfile= *(++argv);
320 else if (strcmp(*argv,"-signkey") == 0)
323 keyfile= *(++argv);
327 else if (strcmp(*argv,"-CA") == 0)
330 CAfile= *(++argv);
334 else if (strcmp(*argv,"-CAkey") == 0)
337 CAkeyfile= *(++argv);
339 else if (strcmp(*argv,"-CAserial") == 0)
342 CAserial= *(++argv);
344 else if (strcmp(*argv,"-set_serial") == 0)
347 if (!(sno = s2i_ASN1_INTEGER(NULL, *(++argv))))
350 else if (strcmp(*argv,"-addtrust") == 0)
353 if (!(objtmp = OBJ_txt2obj(*(++argv), 0)))
356 "Invalid trust object value %s\n", *argv);
363 else if (strcmp(*argv,"-addreject") == 0)
366 if (!(objtmp = OBJ_txt2obj(*(++argv), 0)))
369 "Invalid reject object value %s\n", *argv);
376 else if (strcmp(*argv,"-setalias") == 0)
379 alias= *(++argv);
382 else if (strcmp(*argv,"-certopt") == 0)
385 if (!set_cert_ex(&certflag, *(++argv))) goto bad;
387 else if (strcmp(*argv,"-nameopt") == 0)
390 if (!set_name_ex(&nmflag, *(++argv))) goto bad;
393 else if (strcmp(*argv,"-engine") == 0)
396 engine= *(++argv);
399 else if (strcmp(*argv,"-C") == 0)
401 else if (strcmp(*argv,"-email") == 0)
403 else if (strcmp(*argv,"-ocsp_uri") == 0)
405 else if (strcmp(*argv,"-serial") == 0)
407 else if (strcmp(*argv,"-next_serial") == 0)
409 else if (strcmp(*argv,"-modulus") == 0)
411 else if (strcmp(*argv,"-pubkey") == 0)
413 else if (strcmp(*argv,"-x509toreq") == 0)
415 else if (strcmp(*argv,"-text") == 0)
417 else if (strcmp(*argv,"-hash") == 0
418 || strcmp(*argv,"-subject_hash") == 0)
421 else if (strcmp(*argv,"-subject_hash_old") == 0)
424 else if (strcmp(*argv,"-issuer_hash") == 0)
427 else if (strcmp(*argv,"-issuer_hash_old") == 0)
430 else if (strcmp(*argv,"-subject") == 0)
432 else if (strcmp(*argv,"-issuer") == 0)
434 else if (strcmp(*argv,"-fingerprint") == 0)
436 else if (strcmp(*argv,"-dates") == 0)
441 else if (strcmp(*argv,"-purpose") == 0)
443 else if (strcmp(*argv,"-startdate") == 0)
445 else if (strcmp(*argv,"-enddate") == 0)
447 else if (strcmp(*argv,"-checkend") == 0)
450 checkoffset=atoi(*(++argv));
453 else if (strcmp(*argv,"-noout") == 0)
455 else if (strcmp(*argv,"-trustout") == 0)
457 else if (strcmp(*argv,"-clrtrust") == 0)
459 else if (strcmp(*argv,"-clrreject") == 0)
461 else if (strcmp(*argv,"-alias") == 0)
463 else if (strcmp(*argv,"-CAcreateserial") == 0)
465 else if (strcmp(*argv,"-clrext") == 0)
468 else if (strcmp(*argv,"-crlext") == 0)
474 else if (strcmp(*argv,"-ocspid") == 0)
476 else if ((md_alg=EVP_get_digestbyname(*argv + 1)))
483 BIO_printf(bio_err,"unknown option %s\n",*argv);
488 argv++;