Home
last modified time | relevance | path

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

/third_party/curl/docs/examples/
Dusercertinmem.c46 static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm) in sslctx_function() argument
137 ret = SSL_CTX_use_certificate((SSL_CTX*)sslctx, cert); in sslctx_function()
155 ret = SSL_CTX_use_RSAPrivateKey((SSL_CTX*)sslctx, rsa); in sslctx_function()
Dcacertinmem.c40 static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm) in sslctx_function() argument
89 X509_STORE *cts = SSL_CTX_get_cert_store((SSL_CTX *)sslctx); in sslctx_function()
/third_party/curl/lib/vquic/
Dcurl_quiche.c100 SSL_CTX *sslctx; member
149 SSL_CTX_set_verify(ctx->sslctx, SSL_VERIFY_PEER, NULL); in quic_x509_store_setup()
152 if(!SSL_CTX_load_verify_locations(ctx->sslctx, ssl_cafile, in quic_x509_store_setup()
168 SSL_CTX_set_default_verify_paths(ctx->sslctx); in quic_x509_store_setup()
184 DEBUGASSERT(!ctx->sslctx); in quic_ssl_setup()
185 ctx->sslctx = SSL_CTX_new(TLS_method()); in quic_ssl_setup()
186 if(!ctx->sslctx) in quic_ssl_setup()
189 SSL_CTX_set_alpn_protos(ctx->sslctx, in quic_ssl_setup()
193 SSL_CTX_set_default_verify_paths(ctx->sslctx); in quic_ssl_setup()
198 SSL_CTX_set_keylog_callback(ctx->sslctx, keylog_callback); in quic_ssl_setup()
[all …]
Dcurl_ngtcp2.c147 SSL_CTX *sslctx; member
152 WOLFSSL_CTX *sslctx; member
491 SSL_CTX *ssl_ctx = ctx->sslctx; in quic_set_client_cert()
520 ctx->ssl = SSL_new(ctx->sslctx); in quic_init_ssl()
715 ctx->ssl = wolfSSL_new(ctx->sslctx); in quic_init_ssl()
2001 result = Curl_ssl_setup_x509_store(cf, data, ctx->sslctx); in cf_progress_ingress()
2325 if(ctx->sslctx) in cf_ngtcp2_ctx_clear()
2326 SSL_CTX_free(ctx->sslctx); in cf_ngtcp2_ctx_clear()
2338 if(ctx->sslctx) in cf_ngtcp2_ctx_clear()
2339 wolfSSL_CTX_free(ctx->sslctx); in cf_ngtcp2_ctx_clear()
[all …]
/third_party/python/Lib/test/test_asyncio/
Dtest_sslproto.py594 sslctx = test_utils.simple_server_sslcontext()
596 await self.loop.start_tls(None, None, sslctx)
684 sslctx = test_utils.simple_server_sslcontext()
691 sslctx,
717 sslctx = test_utils.simple_server_sslcontext()
724 sslctx,
/third_party/python/Modules/
D_ssl.c780 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, in newPySSLSocket() argument
787 SSL_CTX *ctx = sslctx->ctx; in newPySSLSocket()
791 (sslctx->protocol == PY_SSL_VERSION_TLS_CLIENT)) { in newPySSLSocket()
792 _setSSLError(get_state_ctx(sslctx), in newPySSLSocket()
798 (sslctx->protocol == PY_SSL_VERSION_TLS_SERVER)) { in newPySSLSocket()
799 _setSSLError(get_state_ctx(sslctx), in newPySSLSocket()
806 get_state_ctx(sslctx)->PySSLSocket_Type); in newPySSLSocket()
812 self->ctx = sslctx; in newPySSLSocket()
813 Py_INCREF(sslctx); in newPySSLSocket()
836 X509_VERIFY_PARAM_set_hostflags(ssl_params, sslctx->hostflags); in newPySSLSocket()
[all …]
/third_party/openssl/doc/man3/
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
/third_party/node/deps/openssl/openssl/ssl/
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()
/third_party/openssl/ssl/
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()
/third_party/python/Lib/test/
Dtest_logging.py945 log=False, sslctx=None): argument
961 self.sslctx = sslctx
966 if self.sslctx:
967 sock = self.sslctx.wrap_socket(sock, server_side=True)
2013 sslctx = None
2017 sslctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
2018 sslctx.load_cert_chain(localhost_cert)
2022 sslctx = None
2025 0.01, sslctx=sslctx)
2029 secure_client = secure and sslctx
/third_party/python/Lib/
Dssl.py555 def shim_cb(sslobj, servername, sslctx): argument
557 return server_name_callback(sslobj, servername, sslctx)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
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()