Home
last modified time | relevance | path

Searched refs:sslctx (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/openbsm/bin/auditdistd/
H A Dproto_tls.c341 SSL_CTX *sslctx; in tls_exec_client() local
384 sslctx = SSL_CTX_new(TLS_client_method()); in tls_exec_client()
385 if (sslctx == NULL) in tls_exec_client()
392 SSL_CTX_set_options(sslctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); in tls_exec_client()
398 ssl = SSL_new(sslctx); in tls_exec_client()
655 SSL_CTX *sslctx; in tls_exec_server() local
673 sslctx = SSL_CTX_new(TLS_server_method()); in tls_exec_server()
674 if (sslctx == NULL) in tls_exec_server()
677 SSL_CTX_set_options(sslctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); in tls_exec_server()
679 ssl = SSL_new(sslctx); in tls_exec_server()
/freebsd/contrib/unbound/util/
H A Dnet_help.h505 void* incoming_ssl_fd(void* sslctx, int fd);
513 void* outgoing_ssl_fd(void* sslctx, int fd);
548 int listen_sslctx_setup_ticket_keys(void* sslctx,
H A Dnet_help.c1488 void* incoming_ssl_fd(void* sslctx, int fd) in incoming_ssl_fd() argument
1491 SSL* ssl = SSL_new((SSL_CTX*)sslctx); in incoming_ssl_fd()
1505 (void)sslctx; (void)fd; in incoming_ssl_fd()
1510 void* outgoing_ssl_fd(void* sslctx, int fd) in outgoing_ssl_fd() argument
1513 SSL* ssl = SSL_new((SSL_CTX*)sslctx); in outgoing_ssl_fd()
1527 (void)sslctx; (void)fd; in outgoing_ssl_fd()
1657 int listen_sslctx_setup_ticket_keys(void* sslctx, struct config_strlist* tls_session_ticket_keys) { in listen_sslctx_setup_ticket_keys() argument
1704 if(SSL_CTX_set_tlsext_ticket_key_evp_cb(sslctx, tls_session_ticket_key_cb) == 0) { in listen_sslctx_setup_ticket_keys()
1709 if(SSL_CTX_set_tlsext_ticket_key_cb(sslctx, tls_session_ticket_key_cb) == 0) { in listen_sslctx_setup_ticket_keys()
1716 (void)sslctx; in listen_sslctx_setup_ticket_keys()
[all …]
/freebsd/contrib/unbound/smallapp/
H A Dunbound-anchor.c762 SSL_CTX* sslctx = SSL_CTX_new(SSLv23_client_method()); in setup_sslctx() local
763 if(!sslctx) { in setup_sslctx()
767 return sslctx; in setup_sslctx()
772 TLS_initiate(SSL_CTX* sslctx, int fd, const char* urlname, int use_sni) in TLS_initiate() argument
776 SSL* ssl = SSL_new(sslctx); in TLS_initiate()
820 TLS_shutdown(int fd, SSL* ssl, SSL_CTX* sslctx) in TLS_shutdown() argument
827 SSL_CTX_free(sslctx); in TLS_shutdown()
1135 SSL_CTX* sslctx = setup_sslctx(); in https_to_ip() local
1136 if(!sslctx) { in https_to_ip()
1141 SSL_CTX_free(sslctx); in https_to_ip()
[all …]
/freebsd/contrib/unbound/libunbound/
H A Dlibworker.h90 void* sslctx; member
H A Dlibworker.c105 SSL_CTX_free(w->sslctx); in libworker_delete_env()
159 w->sslctx = connect_sslctx_create(NULL, NULL, in libworker_setup()
161 if(!w->sslctx) { in libworker_setup()
229 cfg->do_udp || cfg->udp_upstream_without_downstream, w->sslctx, in libworker_setup()
/freebsd/contrib/unbound/services/
H A Doutside_network.h143 void* sslctx; member
571 void* sslctx, int delayclose, int tls_use_sni, struct dt_env *dtenv,
H A Doutside_network.c646 if (w->ssl_upstream && !w->outnet->sslctx) {
689 if (w->outnet->sslctx && w->ssl_upstream) {
721 if(w->outnet->sslctx && w->ssl_upstream) {
722 pend->c->ssl = outgoing_ssl_fd(w->outnet->sslctx, s);
1664 void* sslctx, int delayclose, int tls_use_sni, struct dt_env* dtenv,
1685 outnet->sslctx = sslctx;
3663 cp->ssl = outgoing_ssl_fd(outnet->sslctx, fd);
3679 if((SSL_CTX_get_verify_mode(outnet->sslctx)&SSL_VERIFY_PEER)) {
3698 if((SSL_CTX_get_verify_mode(outnet->sslctx)&SSL_VERIFY_PEER)) {
H A Dlisten_dnsport.h214 void* sslctx, struct dt_env* dtenv, struct doq_table* doq_table,
H A Dlisten_dnsport.c1526 void* sslctx, struct dt_env* dtenv, struct doq_table* doq_table, in listen_create() argument
1581 if(!sslctx && !http_notls) { in listen_create()
1626 cp->ssl = sslctx; in listen_create()
/freebsd/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c171 SSL_CTX* sslctx; member
279 SSL_CTX_free(s->sslctx); in tap_socket_delete()
349 s->sslctx = listen_sslctx_create(server_key, server_cert, verifypem); in tap_socket_new_tlsaccept()
350 if(!s->sslctx) { in tap_socket_new_tlsaccept()
417 } else if(s->ip || s->sslctx) { in tap_socket_setup()
1218 if(tap_sock->sslctx) { in dtio_mainfdcallback()
1219 data->ssl = incoming_ssl_fd(tap_sock->sslctx, data->fd); in dtio_mainfdcallback()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_tlsext_ticket_key_cb.pod13 int SSL_CTX_set_tlsext_ticket_key_evp_cb(SSL_CTX sslctx,
22 int SSL_CTX_set_tlsext_ticket_key_cb(SSL_CTX sslctx,
30 session tickets for the ssl context I<sslctx>. Session tickets, defined in
/freebsd/crypto/openssl/ssl/
H A Dssl_conf.c589 SSL_CTX *sslctx = (cctx->ssl != NULL) ? cctx->ssl->ctx : cctx->ctx; in cmd_DHParameters() local
602 sslctx->libctx, sslctx->propq); in cmd_DHParameters()
/freebsd/contrib/wpa/src/utils/
H A Dhttp_curl.c1293 static CURLcode curl_cb_ssl(CURL *curl, void *sslctx, void *parm) in curl_cb_ssl() argument
1296 SSL_CTX *ssl = sslctx; in curl_cb_ssl()