Searched refs:c_cert (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/usr.sbin/nsd/
H A Dnsd-control.c172 char* s_cert, *c_key, *c_cert; local
179 c_cert = cfg->control_cert_file;
183 (s_cert[0] != '/' || c_key[0] != '/' || c_cert[0] != '/')) {
206 if(!SSL_CTX_use_certificate_file(ctx,c_cert,SSL_FILETYPE_PEM))
207 ssl_path_err("Error setting up SSL_CTX client cert", c_cert);
/openbsd-current/usr.sbin/unbound/smallapp/
H A Dunbound-control.c515 char* s_cert=NULL, *c_key=NULL, *c_cert=NULL; local
522 c_cert = fname_after_chroot(cfg->control_cert_file, cfg, 1);
523 if(!s_cert || !c_key || !c_cert)
542 if(!SSL_CTX_use_certificate_chain_file(ctx,c_cert))
543 ssl_path_err("Error setting up SSL_CTX client cert", c_cert);
555 free(c_cert);

Completed in 120 milliseconds