Home
last modified time | relevance | path

Searched refs:sslctx (Results 1 – 9 of 9) 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/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py514 sslctx = test_utils.simple_server_sslcontext()
516 await self.loop.start_tls(None, None, sslctx)
600 sslctx = test_utils.simple_server_sslcontext()
607 sslctx,
634 sslctx = test_utils.simple_server_sslcontext()
641 sslctx,
/external/python/cpython3/Lib/test/
Dtest_logging.py924 log=False, sslctx=None): argument
940 self.sslctx = sslctx
945 if self.sslctx:
946 sock = self.sslctx.wrap_socket(sock, server_side=True)
1940 sslctx = None
1944 sslctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1945 sslctx.load_cert_chain(localhost_cert)
1949 sslctx = None
1952 0.01, sslctx=sslctx)
1956 secure_client = secure and sslctx
/external/python/cpython3/Lib/
Dssl.py443 def shim_cb(sslobj, servername, sslctx): argument
445 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/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()
/external/python/cpython3/Modules/
D_ssl.c885 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, in newPySSLSocket() argument
892 SSL_CTX *ctx = sslctx->ctx; in newPySSLSocket()
901 self->ctx = sslctx; in newPySSLSocket()
902 Py_INCREF(sslctx); in newPySSLSocket()