Lines Matching refs:argv
242 int MAIN(int argc, char **argv)
343 argv++;
346 if (strcmp(*argv,"-verbose") == 0)
348 else if (strcmp(*argv,"-config") == 0)
351 configfile= *(++argv);
353 else if (strcmp(*argv,"-name") == 0)
356 section= *(++argv);
358 else if (strcmp(*argv,"-subj") == 0)
361 subj= *(++argv);
364 else if (strcmp(*argv,"-utf8") == 0)
366 else if (strcmp(*argv,"-create_serial") == 0)
368 else if (strcmp(*argv,"-multivalue-rdn") == 0)
370 else if (strcmp(*argv,"-startdate") == 0)
373 startdate= *(++argv);
375 else if (strcmp(*argv,"-enddate") == 0)
378 enddate= *(++argv);
380 else if (strcmp(*argv,"-days") == 0)
383 days=atoi(*(++argv));
385 else if (strcmp(*argv,"-md") == 0)
388 md= *(++argv);
390 else if (strcmp(*argv,"-policy") == 0)
393 policy= *(++argv);
395 else if (strcmp(*argv,"-keyfile") == 0)
398 keyfile= *(++argv);
400 else if (strcmp(*argv,"-keyform") == 0)
403 keyform=str2fmt(*(++argv));
405 else if (strcmp(*argv,"-passin") == 0)
408 passargin= *(++argv);
410 else if (strcmp(*argv,"-key") == 0)
413 key= *(++argv);
415 else if (strcmp(*argv,"-cert") == 0)
418 certfile= *(++argv);
420 else if (strcmp(*argv,"-selfsign") == 0)
422 else if (strcmp(*argv,"-in") == 0)
425 infile= *(++argv);
428 else if (strcmp(*argv,"-out") == 0)
431 outfile= *(++argv);
433 else if (strcmp(*argv,"-outdir") == 0)
436 outdir= *(++argv);
438 else if (strcmp(*argv,"-notext") == 0)
440 else if (strcmp(*argv,"-batch") == 0)
442 else if (strcmp(*argv,"-preserveDN") == 0)
444 else if (strcmp(*argv,"-noemailDN") == 0)
446 else if (strcmp(*argv,"-gencrl") == 0)
448 else if (strcmp(*argv,"-msie_hack") == 0)
450 else if (strcmp(*argv,"-crldays") == 0)
453 crldays= atol(*(++argv));
455 else if (strcmp(*argv,"-crlhours") == 0)
458 crlhours= atol(*(++argv));
460 else if (strcmp(*argv,"-crlsec") == 0)
463 crlsec = atol(*(++argv));
465 else if (strcmp(*argv,"-infiles") == 0)
468 argv++;
472 else if (strcmp(*argv, "-ss_cert") == 0)
475 ss_cert_file = *(++argv);
478 else if (strcmp(*argv, "-spkac") == 0)
481 spkac_file = *(++argv);
484 else if (strcmp(*argv,"-revoke") == 0)
487 infile= *(++argv);
490 else if (strcmp(*argv,"-extensions") == 0)
493 extensions= *(++argv);
495 else if (strcmp(*argv,"-extfile") == 0)
498 extfile= *(++argv);
500 else if (strcmp(*argv,"-status") == 0)
503 ser_status= *(++argv);
505 else if (strcmp(*argv,"-updatedb") == 0)
509 else if (strcmp(*argv,"-crlexts") == 0)
512 crl_ext= *(++argv);
514 else if (strcmp(*argv,"-crl_reason") == 0)
517 rev_arg = *(++argv);
520 else if (strcmp(*argv,"-crl_hold") == 0)
523 rev_arg = *(++argv);
526 else if (strcmp(*argv,"-crl_compromise") == 0)
529 rev_arg = *(++argv);
532 else if (strcmp(*argv,"-crl_CA_compromise") == 0)
535 rev_arg = *(++argv);
539 else if (strcmp(*argv,"-engine") == 0)
542 engine= *(++argv);
548 BIO_printf(bio_err,"unknown option %s\n",*argv);
553 argv++;
1237 j=certify(&x,argv[i],pkey,x509p,dgst,attribs,db,