Home
last modified time | relevance | path

Searched refs:tls_auth (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/bsd/nsd/dist/
H A Dconfigparser.y236 | tls_auth
689 tls_auth:
692 tls_auth_options_type *tls_auth = tls_auth_options_create(cfg_parser->opt->region); variable
693 assert(cfg_parser->tls_auth == NULL);
694 cfg_parser->tls_auth = tls_auth;
698 struct tls_auth_options *tls_auth = cfg_parser->tls_auth; variable
699 if(tls_auth->name == NULL) {
701 } else if(tls_auth->auth_domain_name == NULL) {
702 yyerror("tls-auth %s has no auth-domain-name", tls_auth->name);
703 } else if(tls_auth_options_find(cfg_parser->opt, tls_auth->name)) {
[all …]
H A Dconfigparser.c2412 tls_auth_options_type *tls_auth = tls_auth_options_create(cfg_parser->opt->region); in yyparse() local
2413 assert(cfg_parser->tls_auth == NULL); in yyparse()
2414 cfg_parser->tls_auth = tls_auth; in yyparse()
2422 struct tls_auth_options *tls_auth = cfg_parser->tls_auth; in yyparse() local
2423 if(tls_auth->name == NULL) { in yyparse()
2425 } else if(tls_auth->auth_domain_name == NULL) { in yyparse()
2426 yyerror("tls-auth %s has no auth-domain-name", tls_auth->name); in yyparse()
2427 } else if(tls_auth_options_find(cfg_parser->opt, tls_auth->name)) { in yyparse()
2428 yyerror("duplicate tls-auth %s", tls_auth->name); in yyparse()
2430 tls_auth_options_insert(cfg_parser->opt, tls_auth); in yyparse()
[all …]
H A Doptions.h440 struct tls_auth_options *tls_auth; member
H A Doptions.c225 cfg_parser->tls_auth = NULL; in parse_options_file()