Lines Matching refs:tls_auth
236 | 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)) {
704 yyerror("duplicate tls-auth %s", tls_auth->name);
706 tls_auth_options_insert(cfg_parser->opt, tls_auth);
707 cfg_parser->tls_auth = NULL;
719 cfg_parser->tls_auth->name = region_strdup(cfg_parser->opt->region, $2);
728 cfg_parser->tls_auth->auth_domain_name = region_strdup(cfg_parser->opt->region, $2);
732 cfg_parser->tls_auth->client_cert = region_strdup(cfg_parser->opt->region, $2);
736 cfg_parser->tls_auth->client_key = region_strdup(cfg_parser->opt->region, $2);
740 cfg_parser->tls_auth->client_key_pw = region_strdup(cfg_parser->opt->region, $2);