Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dusercertinmem.c44 static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm) in sslctx_function() argument
135 ret = SSL_CTX_use_certificate((SSL_CTX*)sslctx, cert); in sslctx_function()
153 ret = SSL_CTX_use_RSAPrivateKey((SSL_CTX*)sslctx, rsa); in sslctx_function()
Dcacertinmem.c38 static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm) in sslctx_function() argument
87 X509_STORE *cts = SSL_CTX_get_cert_store((SSL_CTX *)sslctx); in sslctx_function()
Dcurlx.c233 static CURLcode sslctxfun(CURL *curl, void *sslctx, void *parm) in sslctxfun() argument
236 SSL_CTX *ctx = (SSL_CTX *) sslctx; in sslctxfun()
/external/curl/lib/vquic/
Dngtcp2.h47 SSL_CTX *sslctx; member
Dngtcp2.c282 qs->ssl = SSL_new(qs->sslctx); in quic_init_ssl()
561 qs->sslctx = quic_ssl_ctx(data); in Curl_quic_connect()
562 if(!qs->sslctx) in Curl_quic_connect()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py588 sslctx = test_utils.simple_server_sslcontext()
590 await self.loop.start_tls(None, None, sslctx)
679 sslctx = test_utils.simple_server_sslcontext()
686 sslctx,
714 sslctx = test_utils.simple_server_sslcontext()
721 sslctx,
/external/python/cpython3/Lib/test/
Dtest_logging.py951 log=False, sslctx=None): argument
967 self.sslctx = sslctx
972 if self.sslctx:
973 sock = self.sslctx.wrap_socket(sock, server_side=True)
1967 sslctx = None
1971 sslctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1972 sslctx.load_cert_chain(localhost_cert)
1976 sslctx = None
1979 0.01, sslctx=sslctx)
1983 secure_client = secure and sslctx
/external/python/cpython3/Lib/
Dssl.py538 def shim_cb(sslobj, servername, sslctx): argument
540 return server_name_callback(sslobj, servername, sslctx)
/external/python/cpython2/Modules/
D_ssl.c572 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, in newPySSLSocket() argument
577 SSL_CTX *ctx = sslctx->ctx; in newPySSLSocket()
588 self->ctx = sslctx; in newPySSLSocket()
591 Py_INCREF(sslctx); in newPySSLSocket()
/external/python/cpython3/Modules/
D_ssl.c915 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, in newPySSLSocket() argument
922 SSL_CTX *ctx = sslctx->ctx; in newPySSLSocket()
931 self->ctx = sslctx; in newPySSLSocket()
932 Py_INCREF(sslctx); in newPySSLSocket()
967 if (sslctx->post_handshake_auth == 1) { in newPySSLSocket()
/external/wpa_supplicant_8/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()