Home
last modified time | relevance | path

Searched refs:tls_auth_options (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/bsd/nsd/dist/
H A Doptions.h32 typedef struct tls_auth_options tls_auth_options_type;
376 struct tls_auth_options* tls_auth_options; member
393 struct tls_auth_options { struct
440 struct tls_auth_options *tls_auth;
486 struct tls_auth_options* tls_auth_options_create(region_type* region);
487 void tls_auth_options_insert(struct nsd_options* opt, struct tls_auth_options* auth);
488 struct tls_auth_options* tls_auth_options_find(struct nsd_options* opt, const char* name);
H A Dxfrd-tcp.c443 unsigned int port = acl->port?acl->port:(acl->tls_auth_options? in xfrd_acl_sockaddr_to()
879 if (zone->master->tls_auth_options && in xfrd_tcp_open()
880 zone->master->tls_auth_options->auth_domain_name) { in xfrd_tcp_open()
882 if (!setup_ssl(tp, set, zone->master->tls_auth_options->auth_domain_name)) { in xfrd_tcp_open()
891 if (zone->master->tls_auth_options->client_cert && in xfrd_tcp_open()
892 zone->master->tls_auth_options->client_key) { in xfrd_tcp_open()
894 zone->master->tls_auth_options->client_cert) != 1) { in xfrd_tcp_open()
895 …tls: Unable to load client certificate from file %s", zone->master->tls_auth_options->client_cert); in xfrd_tcp_open()
898 if (zone->master->tls_auth_options->client_key_pw) { in xfrd_tcp_open()
900 …SSL_CTX_set_default_passwd_cb_userdata(set->ssl_ctx, zone->master->tls_auth_options->client_key_pw… in xfrd_tcp_open()
[all …]
H A Doptions.c273 else if (!(acl->tls_auth_options = in parse_options_file()
1002 b->tls_auth_options = NULL; in copy_acl()
1018 b->tls_auth_options = tls_auth_options_find(opt, b->tls_auth_name); in copy_acl_list()
1019 else b->tls_auth_options = NULL; in copy_acl_list()
1352 acl->tls_auth_options = NULL; in unmarshal_acl()
1537 struct tls_auth_options*
1540 struct tls_auth_options* tls_auth_options; in tls_auth_options_create() local
1541tls_auth_options = (struct tls_auth_options*)region_alloc_zero(region, sizeof(struct tls_auth_opti… in tls_auth_options_create()
1542 return tls_auth_options; in tls_auth_options_create()
1560 tls_auth_options_insert(struct nsd_options* opt, struct tls_auth_options* auth) in tls_auth_options_insert()
[all …]
H A Dconfigparser.y698 struct tls_auth_options *tls_auth = cfg_parser->tls_auth;
H A Dconfigparser.c2422 struct tls_auth_options *tls_auth = cfg_parser->tls_auth; in yyparse()
H A Dxfrd.c525 if (xzone->master->tls_auth_options != NULL) num_xot++; in xfrd_init_slave_zone()