Home
last modified time | relevance | path

Searched refs:ssl_client_ctx (Results 1 – 9 of 9) sorted by relevance

/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c275 wsi->tls.ssl = SSL_new(wsi->a.vhost->tls.ssl_client_ctx); in lws_ssl_client_bio_create()
692 st = SSL_CTX_get_cert_store(vh->tls.ssl_client_ctx); in lws_tls_client_vhost_extra_cert_mem()
837 vh->tls.ssl_client_ctx = tcr->ssl_client_ctx;
852 vh->tls.ssl_client_ctx = SSL_CTX_new(method);
853 if (!vh->tls.ssl_client_ctx) {
873 SSL_CTX_free(vh->tls.ssl_client_ctx);
877 tcr->ssl_client_ctx = vh->tls.ssl_client_ctx;
897 SSL_CTX_set_options(vh->tls.ssl_client_ctx, SSL_OP_NO_COMPRESSION);
900 SSL_CTX_set_options(vh->tls.ssl_client_ctx,
903 SSL_CTX_set_mode(vh->tls.ssl_client_ctx,
[all …]
Dopenssl-session.c344 cmode = SSL_CTX_get_session_cache_mode(vh->tls.ssl_client_ctx); in lws_tls_session_cache()
346 SSL_CTX_set_session_cache_mode(vh->tls.ssl_client_ctx, in lws_tls_session_cache()
349 SSL_CTX_sess_set_new_cb(vh->tls.ssl_client_ctx, lws_tls_session_new_cb); in lws_tls_session_cache()
355 SSL_CTX_set_timeout(vh->tls.ssl_client_ctx, ttl); in lws_tls_session_cache()
357 SSL_CTX_set_timeout(vh->tls.ssl_client_ctx, (long)ttl); in lws_tls_session_cache()
Dprivate-lib-tls-openssl.h36 lws_tls_ctx *ssl_client_ctx; member
Dopenssl-ssl.c142 if (vhost->tls.user_supplied_ssl_ctx || !vhost->tls.ssl_client_ctx) in lws_ssl_destroy_client_ctx()
148 SSL_CTX_free(vhost->tls.ssl_client_ctx); in lws_ssl_destroy_client_ctx()
149 vhost->tls.ssl_client_ctx = NULL; in lws_ssl_destroy_client_ctx()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c102 wsi->tls.ssl = SSL_new(wsi->a.vhost->tls.ssl_client_ctx); in lws_ssl_client_bio_create()
399 vh->tls.ssl_client_ctx = SSL_CTX_new(method, &vh->context->mcdc); in lws_tls_client_create_vhost_context()
400 if (!vh->tls.ssl_client_ctx) { in lws_tls_client_create_vhost_context()
437 SSL_CTX_add_client_CA(vh->tls.ssl_client_ctx, vh->tls.x509_client_CA); in lws_tls_client_create_vhost_context()
460 n = SSL_CTX_use_certificate_ASN1(vh->tls.ssl_client_ctx, in lws_tls_client_create_vhost_context()
474 n = SSL_CTX_use_certificate_ASN1(vh->tls.ssl_client_ctx, in lws_tls_client_create_vhost_context()
499 n = SSL_CTX_use_PrivateKey_ASN1(0, vh->tls.ssl_client_ctx, in lws_tls_client_create_vhost_context()
514 n = SSL_CTX_use_PrivateKey_ASN1(0, vh->tls.ssl_client_ctx, in lws_tls_client_create_vhost_context()
534 if (SSL_CTX_add_client_CA_ASN1(vh->tls.ssl_client_ctx, (int)der_len, der) != 1) { in lws_tls_client_vhost_extra_cert_mem()
Dmbedtls-ssl.c37 if (!vhost->tls.user_supplied_ssl_ctx && vhost->tls.ssl_client_ctx) in lws_ssl_destroy()
38 SSL_CTX_free(vhost->tls.ssl_client_ctx); in lws_ssl_destroy()
292 if (!vhost->tls.user_supplied_ssl_ctx && vhost->tls.ssl_client_ctx) in lws_ssl_SSL_CTX_destroy()
293 SSL_CTX_free(vhost->tls.ssl_client_ctx); in lws_ssl_SSL_CTX_destroy()
/third_party/libwebsockets/lib/tls/
Dtls-client.c138 if (vhost->tls.ssl_client_ctx) in lws_context_init_client_ssl()
144 vhost->tls.ssl_client_ctx = info->provided_client_ssl_ctx; in lws_context_init_client_ssl()
176 vhost->tls.ssl_client_ctx, NULL, 0); in lws_context_init_client_ssl()
Dprivate-network.h53 lws_tls_ctx *ssl_client_ctx; member
/third_party/libwebsockets/lib/plat/windows/
Dwindows-sockets.c270 store = SSL_CTX_get_cert_store(vhost->tls.ssl_client_ctx); in lws_plat_vhost_tls_client_ctx_init()