Lines Matching refs:tls_auth
2412 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()
2431 cfg_parser->tls_auth = NULL; in yyparse()
2442 cfg_parser->tls_auth->name = region_strdup(cfg_parser->opt->region, (yyvsp[0].str)); in yyparse()
2455 … cfg_parser->tls_auth->auth_domain_name = region_strdup(cfg_parser->opt->region, (yyvsp[0].str)); in yyparse()
2463 cfg_parser->tls_auth->client_cert = region_strdup(cfg_parser->opt->region, (yyvsp[0].str)); in yyparse()
2471 cfg_parser->tls_auth->client_key = region_strdup(cfg_parser->opt->region, (yyvsp[0].str)); in yyparse()
2479 cfg_parser->tls_auth->client_key_pw = region_strdup(cfg_parser->opt->region, (yyvsp[0].str)); in yyparse()