Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/openbsm/bin/auditdistd/
H A Dproto_tls.c341 SSL_CTX *sslctx; in tls_exec_client() local
382 sslctx = SSL_CTX_new(TLS_client_method()); in tls_exec_client()
383 if (sslctx == NULL) in tls_exec_client()
390 SSL_CTX_set_options(sslctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); in tls_exec_client()
396 ssl = SSL_new(sslctx); in tls_exec_client()
653 SSL_CTX *sslctx; in tls_exec_server() local
669 sslctx = SSL_CTX_new(TLS_server_method()); in tls_exec_server()
670 if (sslctx == NULL) in tls_exec_server()
673 SSL_CTX_set_options(sslctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); in tls_exec_server()
675 ssl = SSL_new(sslctx); in tls_exec_server()
/freebsd-13.1/contrib/unbound/util/
H A Dnet_help.h450 void* incoming_ssl_fd(void* sslctx, int fd);
458 void* outgoing_ssl_fd(void* sslctx, int fd);
493 int listen_sslctx_setup_ticket_keys(void* sslctx,
H A Dnet_help.c1285 void* incoming_ssl_fd(void* sslctx, int fd) in incoming_ssl_fd() argument
1288 SSL* ssl = SSL_new((SSL_CTX*)sslctx); in incoming_ssl_fd()
1302 (void)sslctx; (void)fd; in incoming_ssl_fd()
1307 void* outgoing_ssl_fd(void* sslctx, int fd) in outgoing_ssl_fd() argument
1310 SSL* ssl = SSL_new((SSL_CTX*)sslctx); in outgoing_ssl_fd()
1324 (void)sslctx; (void)fd; in outgoing_ssl_fd()
1454 int listen_sslctx_setup_ticket_keys(void* sslctx, struct config_strlist* tls_session_ticket_keys) { in listen_sslctx_setup_ticket_keys() argument
1501 if(SSL_CTX_set_tlsext_ticket_key_evp_cb(sslctx, tls_session_ticket_key_cb) == 0) { in listen_sslctx_setup_ticket_keys()
1506 if(SSL_CTX_set_tlsext_ticket_key_cb(sslctx, tls_session_ticket_key_cb) == 0) { in listen_sslctx_setup_ticket_keys()
1513 (void)sslctx; in listen_sslctx_setup_ticket_keys()
[all …]
/freebsd-13.1/contrib/unbound/smallapp/
H A Dunbound-anchor.c761 if(!sslctx) { in setup_sslctx()
765 return sslctx; in setup_sslctx()
774 SSL* ssl = SSL_new(sslctx); in TLS_initiate()
814 TLS_shutdown(int fd, SSL* ssl, SSL_CTX* sslctx) in TLS_shutdown() argument
821 SSL_CTX_free(sslctx); in TLS_shutdown()
1129 SSL_CTX* sslctx = setup_sslctx(); in https_to_ip() local
1130 if(!sslctx) { in https_to_ip()
1135 SSL_CTX_free(sslctx); in https_to_ip()
1140 SSL_CTX_free(sslctx); in https_to_ip()
1147 SSL_CTX_free(sslctx); in https_to_ip()
[all …]
/freebsd-13.1/contrib/unbound/libunbound/
H A Dlibworker.h90 void* sslctx; member
H A Dlibworker.c108 SSL_CTX_free(w->sslctx); in libworker_delete_env()
172 w->sslctx = connect_sslctx_create(NULL, NULL, in libworker_setup()
174 if(!w->sslctx) { in libworker_setup()
243 cfg->do_udp || cfg->udp_upstream_without_downstream, w->sslctx, in libworker_setup()
/freebsd-13.1/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c157 SSL_CTX* sslctx; member
184 SSL_CTX_free(s->sslctx); in tap_socket_delete()
253 s->sslctx = listen_sslctx_create(server_key, server_cert, verifypem); in tap_socket_new_tlsaccept()
254 if(!s->sslctx) { in tap_socket_new_tlsaccept()
321 } else if(s->ip || s->sslctx) { in tap_socket_setup()
1107 if(tap_sock->sslctx) { in dtio_mainfdcallback()
1108 data->ssl = incoming_ssl_fd(tap_sock->sslctx, data->fd); in dtio_mainfdcallback()
/freebsd-13.1/contrib/unbound/services/
H A Doutside_network.h141 void* sslctx; member
569 void* sslctx, int delayclose, int tls_use_sni, struct dt_env *dtenv,
H A Dlisten_dnsport.h193 void* sslctx, struct dt_env* dtenv, comm_point_callback_type* cb,
H A Doutside_network.c656 if (w->outnet->sslctx && w->ssl_upstream) {
688 if(w->outnet->sslctx && w->ssl_upstream) {
689 pend->c->ssl = outgoing_ssl_fd(w->outnet->sslctx, s);
1593 void* sslctx, int delayclose, int tls_use_sni, struct dt_env* dtenv,
1613 outnet->sslctx = sslctx;
3588 cp->ssl = outgoing_ssl_fd(outnet->sslctx, fd);
3604 if((SSL_CTX_get_verify_mode(outnet->sslctx)&SSL_VERIFY_PEER)) {
3623 if((SSL_CTX_get_verify_mode(outnet->sslctx)&SSL_VERIFY_PEER)) {
H A Dlisten_dnsport.c1351 void* sslctx, struct dt_env* dtenv, comm_point_callback_type* cb, in listen_create() argument
1391 if(!sslctx && !http_notls) { in listen_create()
1424 cp->ssl = sslctx; in listen_create()
/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_CTX_set_tlsext_ticket_key_cb.pod11 long SSL_CTX_set_tlsext_ticket_key_cb(SSL_CTX sslctx,
19 session tickets for the ssl context I<sslctx>. Session tickets, defined in
/freebsd-13.1/contrib/wpa/src/utils/
H A Dhttp_curl.c1314 static CURLcode curl_cb_ssl(CURL *curl, void *sslctx, void *parm) in curl_cb_ssl() argument
1317 SSL_CTX *ssl = sslctx; in curl_cb_ssl()