Lines Matching refs:argv

896 int main(int argc, char *argv[])  in main()  argument
988 argv++; in main()
991 if (strcmp(*argv, "-F") == 0) { in main()
996 } else if (strcmp(*argv, "-server_auth") == 0) in main()
998 else if (strcmp(*argv, "-client_auth") == 0) in main()
1000 else if (strcmp(*argv, "-v") == 0) in main()
1002 else if (strcmp(*argv, "-d") == 0) in main()
1004 else if (strcmp(*argv, "-reuse") == 0) in main()
1006 else if (strcmp(*argv, "-no_dhe") == 0) in main()
1011 else if (strcmp(*argv, "-dhe512") == 0) in main()
1013 else if (strcmp(*argv, "-dhe1024dsa") == 0) in main()
1015 else if (strcmp(*argv, "-dhe4096") == 0) in main()
1018 else if (strcmp(*argv, "-no_ecdhe") == 0) in main()
1020 else if (strcmp(*argv, "-psk") == 0) { in main()
1023 psk_key = *(++argv); in main()
1026 BIO_printf(bio_err, "Not a hex number '%s'\n", *argv); in main()
1033 else if (strcmp(*argv, "-tls1_2") == 0) { in main()
1035 } else if (strcmp(*argv, "-tls1_1") == 0) { in main()
1037 } else if (strcmp(*argv, "-tls1") == 0) { in main()
1039 } else if (strcmp(*argv, "-ssl3") == 0) { in main()
1041 } else if (strcmp(*argv, "-dtls1") == 0) { in main()
1043 } else if (strcmp(*argv, "-dtls12") == 0) { in main()
1045 } else if (strcmp(*argv, "-dtls") == 0) { in main()
1047 } else if (HAS_PREFIX(*argv, "-num")) { in main()
1050 number = atoi(*(++argv)); in main()
1053 } else if (strcmp(*argv, "-bytes") == 0) { in main()
1056 bytes = atol(*(++argv)); in main()
1059 i = strlen(argv[0]); in main()
1060 if (argv[0][i - 1] == 'k') in main()
1062 if (argv[0][i - 1] == 'm') in main()
1064 } else if (strcmp(*argv, "-cipher") == 0) { in main()
1067 cipher = *(++argv); in main()
1068 } else if (strcmp(*argv, "-ciphersuites") == 0) { in main()
1071 ciphersuites = *(++argv); in main()
1072 } else if (strcmp(*argv, "-CApath") == 0) { in main()
1075 CApath = *(++argv); in main()
1076 } else if (strcmp(*argv, "-CAfile") == 0) { in main()
1079 CAfile = *(++argv); in main()
1080 } else if (strcmp(*argv, "-bio_pair") == 0) { in main()
1084 else if (strcmp(*argv, "-ipv4") == 0) { in main()
1086 } else if (strcmp(*argv, "-ipv6") == 0) { in main()
1090 else if (strcmp(*argv, "-f") == 0) { in main()
1092 } else if (strcmp(*argv, "-time") == 0) { in main()
1096 else if (strcmp(*argv, "-noct") == 0) { in main()
1099 else if (strcmp(*argv, "-ct") == 0) { in main()
1104 else if (strcmp(*argv, "-zlib") == 0) { in main()
1108 else if (strcmp(*argv, "-app_verify") == 0) { in main()
1112 else if (strcmp(*argv, "-npn_client") == 0) { in main()
1114 } else if (strcmp(*argv, "-npn_server") == 0) { in main()
1116 } else if (strcmp(*argv, "-npn_server_reject") == 0) { in main()
1120 else if (strcmp(*argv, "-serverinfo_sct") == 0) { in main()
1122 } else if (strcmp(*argv, "-serverinfo_tack") == 0) { in main()
1124 } else if (strcmp(*argv, "-serverinfo_file") == 0) { in main()
1127 serverinfo_file = *(++argv); in main()
1128 } else if (strcmp(*argv, "-custom_ext") == 0) { in main()
1130 } else if (strcmp(*argv, "-alpn_client") == 0) { in main()
1133 alpn_client = *(++argv); in main()
1134 } else if (strcmp(*argv, "-alpn_server") == 0 || in main()
1135 strcmp(*argv, "-alpn_server1") == 0) { in main()
1138 alpn_server = *(++argv); in main()
1139 } else if (strcmp(*argv, "-alpn_server2") == 0) { in main()
1142 alpn_server2 = *(++argv); in main()
1143 } else if (strcmp(*argv, "-alpn_expected") == 0) { in main()
1146 alpn_expected = *(++argv); in main()
1147 } else if (strcmp(*argv, "-server_min_proto") == 0) { in main()
1150 server_min_proto = *(++argv); in main()
1151 } else if (strcmp(*argv, "-server_max_proto") == 0) { in main()
1154 server_max_proto = *(++argv); in main()
1155 } else if (strcmp(*argv, "-client_min_proto") == 0) { in main()
1158 client_min_proto = *(++argv); in main()
1159 } else if (strcmp(*argv, "-client_max_proto") == 0) { in main()
1162 client_max_proto = *(++argv); in main()
1163 } else if (strcmp(*argv, "-should_negotiate") == 0) { in main()
1166 should_negotiate = *(++argv); in main()
1167 } else if (strcmp(*argv, "-sn_client") == 0) { in main()
1170 sn_client = *(++argv); in main()
1171 } else if (strcmp(*argv, "-sn_server1") == 0) { in main()
1174 sn_server1 = *(++argv); in main()
1175 } else if (strcmp(*argv, "-sn_server2") == 0) { in main()
1178 sn_server2 = *(++argv); in main()
1179 } else if (strcmp(*argv, "-sn_expect1") == 0) { in main()
1181 } else if (strcmp(*argv, "-sn_expect2") == 0) { in main()
1183 } else if (strcmp(*argv, "-server_sess_out") == 0) { in main()
1186 server_sess_out = *(++argv); in main()
1187 } else if (strcmp(*argv, "-server_sess_in") == 0) { in main()
1190 server_sess_in = *(++argv); in main()
1191 } else if (strcmp(*argv, "-client_sess_out") == 0) { in main()
1194 client_sess_out = *(++argv); in main()
1195 } else if (strcmp(*argv, "-client_sess_in") == 0) { in main()
1198 client_sess_in = *(++argv); in main()
1199 } else if (strcmp(*argv, "-should_reuse") == 0) { in main()
1202 should_reuse = !!atoi(*(++argv)); in main()
1203 } else if (strcmp(*argv, "-no_ticket") == 0) { in main()
1205 } else if (strcmp(*argv, "-client_ktls") == 0) { in main()
1207 } else if (strcmp(*argv, "-server_ktls") == 0) { in main()
1209 } else if (strcmp(*argv, "-provider") == 0) { in main()
1212 provider = *(++argv); in main()
1213 } else if (strcmp(*argv, "-config") == 0) { in main()
1216 config = *(++argv); in main()
1219 arg = argv[0]; in main()
1220 argn = argv[1]; in main()
1222 rv = SSL_CONF_cmd_argv(c_cctx, &argc, &argv); in main()
1225 rv = SSL_CONF_cmd_argv(s_cctx, &argc, &argv); in main()
1251 argv++; in main()