Lines Matching defs:argv

501 int main(int argc, char *argv[])
579 argv++;
583 if(!strcmp(*argv,"-F"))
592 else if (strcmp(*argv,"-server_auth") == 0)
594 else if (strcmp(*argv,"-client_auth") == 0)
596 else if (strcmp(*argv,"-proxy_auth") == 0)
599 app_verify_arg.proxy_auth= *(++argv);
601 else if (strcmp(*argv,"-proxy_cond") == 0)
604 app_verify_arg.proxy_cond= *(++argv);
606 else if (strcmp(*argv,"-v") == 0)
608 else if (strcmp(*argv,"-d") == 0)
610 else if (strcmp(*argv,"-reuse") == 0)
612 else if (strcmp(*argv,"-dhe1024") == 0)
620 else if (strcmp(*argv,"-dhe1024dsa") == 0)
628 else if (strcmp(*argv,"-no_dhe") == 0)
630 else if (strcmp(*argv,"-no_ecdhe") == 0)
632 else if (strcmp(*argv,"-psk") == 0)
635 psk_key=*(++argv);
639 BIO_printf(bio_err,"Not a hex number '%s'\n",*argv);
647 else if (strcmp(*argv,"-srpuser") == 0)
650 srp_server_arg.expected_user = srp_client_arg.srplogin= *(++argv);
653 else if (strcmp(*argv,"-srppass") == 0)
656 srp_server_arg.pass = srp_client_arg.srppassin= *(++argv);
660 else if (strcmp(*argv,"-ssl2") == 0)
662 else if (strcmp(*argv,"-tls1") == 0)
664 else if (strcmp(*argv,"-ssl3") == 0)
666 else if (strncmp(*argv,"-num",4) == 0)
669 number= atoi(*(++argv));
672 else if (strcmp(*argv,"-bytes") == 0)
675 bytes= atol(*(++argv));
677 i=strlen(argv[0]);
678 if (argv[0][i-1] == 'k') bytes*=1024L;
679 if (argv[0][i-1] == 'm') bytes*=1024L*1024L;
681 else if (strcmp(*argv,"-cert") == 0)
684 server_cert= *(++argv);
686 else if (strcmp(*argv,"-s_cert") == 0)
689 server_cert= *(++argv);
691 else if (strcmp(*argv,"-key") == 0)
694 server_key= *(++argv);
696 else if (strcmp(*argv,"-s_key") == 0)
699 server_key= *(++argv);
701 else if (strcmp(*argv,"-c_cert") == 0)
704 client_cert= *(++argv);
706 else if (strcmp(*argv,"-c_key") == 0)
709 client_key= *(++argv);
711 else if (strcmp(*argv,"-cipher") == 0)
714 cipher= *(++argv);
716 else if (strcmp(*argv,"-CApath") == 0)
719 CApath= *(++argv);
721 else if (strcmp(*argv,"-CAfile") == 0)
724 CAfile= *(++argv);
726 else if (strcmp(*argv,"-bio_pair") == 0)
730 else if (strcmp(*argv,"-f") == 0)
734 else if (strcmp(*argv,"-time") == 0)
738 else if (strcmp(*argv,"-zlib") == 0)
742 else if (strcmp(*argv,"-rle") == 0)
746 else if (strcmp(*argv,"-named_curve") == 0)
750 named_curve = *(++argv);
753 ++argv;
756 else if (strcmp(*argv,"-app_verify") == 0)
760 else if (strcmp(*argv,"-proxy") == 0)
764 else if (strcmp(*argv,"-test_cipherlist") == 0)
770 fprintf(stderr,"unknown option %s\n",*argv);
775 argv++;