Lines Matching +full:no +full:- +full:gost

2  * testcode/testbound.c - test program for unbound.
26 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
97 printf("-h this help\n"); in testbound_usage()
98 printf("-p file playback text file\n"); in testbound_usage()
99 printf("-1 detect SHA1 support (exit code 0 or 1)\n"); in testbound_usage()
100 printf("-2 detect SHA256 support (exit code 0 or 1)\n"); in testbound_usage()
101 printf("-g detect GOST support (exit code 0 or 1)\n"); in testbound_usage()
102 printf("-e detect ECDSA support (exit code 0 or 1)\n"); in testbound_usage()
103 printf("-c detect CLIENT_SUBNET support (exit code 0 or 1)\n"); in testbound_usage()
104 printf("-i detect IPSECMOD support (exit code 0 or 1)\n"); in testbound_usage()
105 printf("-s testbound self-test - unit test of testbound parts.\n"); in testbound_usage()
106 printf("-o str unbound commandline options separated by spaces.\n"); in testbound_usage()
117 * @param args: the option argument, "-v -p 12345" or so.
131 len = (size_t)(np-p); in add_opts()
134 if(*pass_argc >= MAXARG-1) in add_opts()
196 line[sizeof(line)-1] = 0; in spool_temp_file()
197 while(fgets(line, MAX_LINE_LEN-1, in)) { in spool_temp_file()
203 char l2[MAX_LINE_LEN-30]; /* -30 makes it fit with in spool_temp_file()
218 fatal_exit("no TEMPFILE_END in input file"); in spool_temp_file()
236 fprintf(cfg, "server: auto-trust-anchor-file: \"%s\"\n", line); in spool_auto_file()
243 line[sizeof(line)-1] = 0; in spool_auto_file()
244 while(fgets(line, MAX_LINE_LEN-1, in)) { in spool_auto_file()
255 fatal_exit("no AUTOTRUST_END in input file"); in spool_auto_file()
267 add_opts("-c", pass_argc, pass_argv); in setup_config()
274 line[sizeof(line)-1] = 0; in setup_config()
276 fprintf(cfg, "server: use-syslog: no\n"); in setup_config()
281 fprintf(cfg, " val-log-level: 2\n"); in setup_config()
282 fprintf(cfg, " log-servfail: yes\n"); in setup_config()
283 fprintf(cfg, "remote-control: control-enable: no\n"); in setup_config()
284 while(fgets(line, MAX_LINE_LEN-1, in)) { in setup_config()
292 parse[strlen(parse)-1] = 0; /* strip off \n */ in setup_config()
314 fatal_exit("No CONFIG_END in input file"); in setup_config()
337 else fatal_exit("need a playback file (-p)"); in setup_playback()
338 log_info("Scenario: %s", scen->title); in setup_playback()
346 for(p=cfgfiles; p; p=p->next) in remove_configfile()
347 unlink(p->str); in remove_configfile()
382 add_opts("-d", &pass_argc, pass_argv); in main()
383 while( (c=getopt(argc, argv, "12egciho:p:s")) != -1) { in main()
423 printf("GOST supported\n"); in main()
426 printf("GOST not supported\n"); in main()
430 printf("GOST not supported\n"); in main()
465 argc -= optind; in main()
505 /* dlopen frees its thread state (dlopen of gost engine) */ in main()