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.h52 SSL_CTX *sslctx; member
Dngtcp2.c347 qs->ssl = SSL_new(qs->sslctx); in quic_init_ssl()
803 qs->sslctx = quic_ssl_ctx(data); in Curl_quic_connect()
804 if(!qs->sslctx) in Curl_quic_connect()
907 SSL_CTX_free(qs->sslctx); in qs_disconnect()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py592 sslctx = test_utils.simple_server_sslcontext()
594 await self.loop.start_tls(None, None, sslctx)
683 sslctx = test_utils.simple_server_sslcontext()
690 sslctx,
718 sslctx = test_utils.simple_server_sslcontext()
725 sslctx,
/external/python/cpython3/Lib/test/
Dtest_logging.py935 log=False, sslctx=None): argument
951 self.sslctx = sslctx
956 if self.sslctx:
957 sock = self.sslctx.wrap_socket(sock, server_side=True)
2001 sslctx = None
2005 sslctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
2006 sslctx.load_cert_chain(localhost_cert)
2010 sslctx = None
2013 0.01, sslctx=sslctx)
2017 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.c930 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, in newPySSLSocket() argument
937 SSL_CTX *ctx = sslctx->ctx; in newPySSLSocket()
946 self->ctx = sslctx; in newPySSLSocket()
947 Py_INCREF(sslctx); in newPySSLSocket()
982 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()