Searched refs:s_cert (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/contrib/unbound/smallapp/ |
H A D | unbound-control.c | 510 char* s_cert=NULL, *c_key=NULL, *c_cert=NULL; local 515 s_cert = fname_after_chroot(cfg->server_cert_file, cfg, 1); 518 if(!s_cert || !c_key || !c_cert) 543 if (SSL_CTX_load_verify_locations(ctx, s_cert, NULL) != 1) 545 s_cert); 548 free(s_cert);
|
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | s_server.c | 1107 X509 *s_cert = NULL, *s_dcert = NULL; local 1638 s_cert = load_cert(bio_err, s_cert_file, s_cert_format, 1641 if (!s_cert) { 1947 if (!set_cert_key_stuff(ctx, s_cert, s_key, s_chain, build_chain)) 2085 if (s_cert) 2086 X509_free(s_cert);
|
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | remote.c | 149 char* s_cert; local 160 s_cert = fname_after_chroot(cfg->server_cert_file, cfg, 1); 162 if(!s_cert || !s_key) { 167 if (!SSL_CTX_use_certificate_chain_file(rc->ctx,s_cert)) { 168 log_err("Error for server-cert-file: %s", s_cert); 183 if(!SSL_CTX_load_verify_locations(rc->ctx, s_cert, NULL)) { 186 free(s_cert); 190 SSL_CTX_set_client_CA_list(rc->ctx, SSL_load_client_CA_file(s_cert)); 192 free(s_cert);
|
Completed in 116 milliseconds