Searched refs:tls_context (Results 1 – 4 of 4) sorted by relevance
157 static de::ThreadLocal tls_context; variable161 tls_context.set(context); in setCurrentContext()166 return (Context*)tls_context.get(); in getCurrentContext()
594 daemon->tls_context = SSL_CTX_new (TLSv1_2_server_method()); in MHD_TLS_init()595 if (NULL == daemon->tls_context) in MHD_TLS_init()605 ret = SSL_CTX_add_client_CA (daemon->tls_context, x509); in MHD_TLS_init()625 ret = SSL_CTX_set_tmp_dh (daemon->tls_context, dh); in MHD_TLS_init()648 ret = SSL_CTX_use_PrivateKey (daemon->tls_context, key); in MHD_TLS_init()664 ret = SSL_CTX_use_certificate (daemon->tls_context, x509); in MHD_TLS_init()674 if (1 != SSL_CTX_check_private_key (daemon->tls_context)) in MHD_TLS_init()693 ret = SSL_CTX_set_cipher_list (daemon->tls_context, in MHD_TLS_init()706 ret = SSL_CTX_set_cipher_list (daemon->tls_context, in MHD_TLS_init()723 SSL_CTX_free (daemon->tls_context); in MHD_TLS_deinit()[all …]
1193 SSL_CTX* tls_context; member
173 struct tls_context { struct181 static struct tls_context *tls_global = NULL; argument190 struct tls_context *context;227 static struct tls_context * tls_context_new(const struct tls_config *conf) in tls_context_new()229 struct tls_context *context = os_zalloc(sizeof(*context)); in tls_context_new()683 struct tls_context *context = conn->context; in ssl_info_cb()868 struct tls_context *context; in tls_init()1018 struct tls_context *context = SSL_CTX_get_app_data(ssl); in tls_deinit()1315 struct tls_context *context = SSL_CTX_get_app_data(ssl); in tls_connection_init()1648 struct tls_context *context = conn->context; in openssl_tls_fail_event()[all …]