| /freebsd/crypto/krb5/src/util/ |
| H A D | wsgiref-kdcproxy.py | 17 sslctx = ssl.create_default_context(purpose=ssl.Purpose.CLIENT_AUTH) variable 18 sslctx.load_cert_chain(certfile=pem) 19 server.socket = sslctx.wrap_socket(server.socket, server_side=True)
|
| /freebsd/contrib/openbsm/bin/auditdistd/ |
| H A D | proto_tls.c | 341 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 D | net_help.h | 522 * @param sslctx: the SSL_CTX to use (from listen_sslctx_create()). 526 void* incoming_ssl_fd(void* sslctx, int fd); 530 * @param sslctx: the SSL_CTX to use (from connect_sslctx_create()) 534 void* outgoing_ssl_fd(void* sslctx, int fd);
|
| H A D | net_help.c | 1213 setup_ticket_keys_cb(void* sslctx) in setup_ticket_keys_cb() argument 1216 if(SSL_CTX_set_tlsext_ticket_key_evp_cb(sslctx, tls_session_ticket_key_cb) == 0) { in setup_ticket_keys_cb() 1220 if(SSL_CTX_set_tlsext_ticket_key_cb(sslctx, tls_session_ticket_key_cb) == 0) { in setup_ticket_keys_cb() 1631 void* incoming_ssl_fd(void* sslctx, int fd) in incoming_ssl_fd() argument 1634 SSL* ssl = SSL_new((SSL_CTX*)sslctx); in incoming_ssl_fd() 1648 (void)sslctx; (void)fd; in incoming_ssl_fd() 1653 void* outgoing_ssl_fd(void* sslctx, int fd) in outgoing_ssl_fd() argument 1656 SSL* ssl = SSL_new((SSL_CTX*)sslctx); in outgoing_ssl_fd() 1670 (void)sslctx; (void)fd; in outgoing_ssl_fd() 1854 int tls_session_ticket_key_cb(SSL *ATTR_UNUSED(sslctx), unsigned char* key_name, in tls_session_ticket_key_cb() argument
|
| /freebsd/contrib/unbound/smallapp/ |
| H A D | unbound-anchor.c | 768 SSL_CTX* sslctx = SSL_CTX_new(SSLv23_client_method()); in setup_sslctx() local 769 if(!sslctx) { in setup_sslctx() 773 return sslctx; in setup_sslctx() 778 TLS_initiate(SSL_CTX* sslctx, int fd, const char* urlname, int use_sni) in TLS_initiate() argument 782 SSL* ssl = SSL_new(sslctx); in TLS_initiate() 826 TLS_shutdown(int fd, SSL* ssl, SSL_CTX* sslctx) in TLS_shutdown() argument 833 SSL_CTX_free(sslctx); in TLS_shutdown() 1141 SSL_CTX* sslctx = setup_sslctx(); in https_to_ip() local 1142 if(!sslctx) { in https_to_ip() 1147 SSL_CTX_free(sslctx); in https_to_ip() [all …]
|
| /freebsd/contrib/unbound/libunbound/ |
| H A D | libworker.h | 90 void* sslctx; member
|
| H A D | libworker.c | 105 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 D | outside_network.h | 143 void* sslctx; member 554 * @param sslctx: context to create outgoing connections with (if enabled). 571 void* sslctx, int delayclose, int tls_use_sni, struct dt_env *dtenv,
|
| H A D | outside_network.c | 660 if (w->ssl_upstream && !w->outnet->sslctx) { 704 if (w->outnet->sslctx && w->ssl_upstream) { 736 if(w->outnet->sslctx && w->ssl_upstream) { 737 pend->c->ssl = outgoing_ssl_fd(w->outnet->sslctx, s); 1679 void* sslctx, int delayclose, int tls_use_sni, struct dt_env* dtenv, 1700 outnet->sslctx = sslctx; 3678 cp->ssl = outgoing_ssl_fd(outnet->sslctx, fd); 3694 if((SSL_CTX_get_verify_mode(outnet->sslctx)&SSL_VERIFY_PEER)) { 3713 if((SSL_CTX_get_verify_mode(outnet->sslctx)&SSL_VERIFY_PEER)) {
|
| /freebsd/contrib/unbound/dnstap/ |
| H A D | unbound-dnstap-socket.c | 171 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() 351 if(!s->sslctx) { in tap_socket_new_tlsaccept() 418 } else if(s->ip || s->sslctx) { in tap_socket_setup() 1219 if(tap_sock->sslctx) { in dtio_mainfdcallback() 1220 data->ssl = incoming_ssl_fd(tap_sock->sslctx, data->fd); in dtio_mainfdcallback()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | SSL_CTX_set_tlsext_ticket_key_cb.pod | 13 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 D | ssl_conf.c | 614 SSL_CTX *sslctx = (cctx->ssl != NULL) ? cctx->ssl->ctx : cctx->ctx; in cmd_DHParameters() local 627 sslctx->libctx, sslctx->propq); in cmd_DHParameters()
|
| /freebsd/contrib/wpa/src/utils/ |
| H A D | http_curl.c | 1293 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()
|
| /freebsd/contrib/unbound/testcode/ |
| H A D | fake_event.c | 1133 int ATTR_UNUSED(do_udp), void* ATTR_UNUSED(sslctx), in outside_network_create() argument
|