/external/python/cpython3/Lib/test/ |
D | test_smtpnet.py | 30 context.check_hostname = False 65 context.check_hostname = False
|
D | test_ssl.py | 294 context.check_hostname = False 1172 self.assertFalse(ctx.check_hostname) 1176 self.assertTrue(ctx.check_hostname) 1629 self.assertTrue(ctx.check_hostname) 1649 self.assertFalse(ctx.check_hostname) 1659 check_hostname=True) 1662 self.assertTrue(ctx.check_hostname) 1672 self.assertFalse(ctx.check_hostname) 1676 ctx.check_hostname = True 1677 self.assertTrue(ctx.check_hostname) [all …]
|
D | test_poplib.py | 379 self.assertEqual(ctx.check_hostname, True) 418 ctx.check_hostname = False
|
D | test_httplib.py | 1695 self.assertEqual(context.check_hostname, True) 1766 context=context, check_hostname=True) 1770 context.check_hostname = False 1773 context=context, check_hostname=False) 1781 context.check_hostname = False 1792 context=context, check_hostname=True)
|
D | test_imaplib.py | 553 self.assertEqual(ssl_context.check_hostname, True) 1028 ssl_context.check_hostname = False
|
D | test_ftplib.py | 945 ctx.check_hostname = False 978 self.assertEqual(ctx.check_hostname, True)
|
/external/python/cpython3/Lib/http/ |
D | client.py | 1381 check_hostname=None, blocksize=8192): argument 1386 check_hostname is not None): 1399 if check_hostname is None: 1400 check_hostname = context.check_hostname 1401 if check_hostname and not will_verify: 1411 if check_hostname is not None: 1412 self._context.check_hostname = check_hostname
|
/external/python/cpython2/Lib/ |
D | ssl.py | 442 context.check_hostname = True 465 check_hostname=False, purpose=Purpose.SERVER_AUTH, argument 487 context.check_hostname = check_hostname 587 if self._context.check_hostname and not server_hostname: 850 if self.context.check_hostname:
|
/external/python/cpython3/Lib/ |
D | ssl.py | 742 context.check_hostname = True 759 check_hostname=False, purpose=Purpose.SERVER_AUTH, argument 777 if not check_hostname: 778 context.check_hostname = False 781 if check_hostname: 782 context.check_hostname = True 996 if context.check_hostname and not server_hostname:
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.9.rst | 7 Remove the *check_hostname* parameter of httplib.HTTPSConnection. The
|
/external/python/httplib2/python2/httplib2/test/ |
D | test_ssl_context.py | 60 self.assertTrue(conn.sock.context.check_hostname)
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 1162 self.assertTrue(ctx.check_hostname) 1202 self.assertFalse(ctx.check_hostname) 1212 check_hostname=True) 1215 self.assertTrue(ctx.check_hostname) 1276 self.assertFalse(ctx.check_hostname) 1280 ctx.check_hostname = True 1282 self.assertFalse(ctx.check_hostname) 1283 ctx.check_hostname = True 1284 self.assertTrue(ctx.check_hostname) 1287 ctx.check_hostname = True [all …]
|
D | test_httplib.py | 912 context.check_hostname = True 919 context.check_hostname = False
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | utils.py | 76 server_context.check_hostname = False 83 client_context.check_hostname = False
|
D | test_events.py | 977 sslcontext_client.check_hostname = True 1007 sslcontext_client.check_hostname = True 1038 sslcontext_client.check_hostname = True 1068 sslcontext_client.check_hostname = True 1094 sslcontext_client.check_hostname = True
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 325 int check_hostname; member 2237 self->check_hostname = 0; in context_new() 2509 if (mode == SSL_VERIFY_NONE && self->check_hostname) { in set_verify_mode() 2595 return PyBool_FromLong(self->check_hostname); in get_check_hostname() 2602 int check_hostname; in set_check_hostname() local 2606 check_hostname = PyObject_IsTrue(py_check_hostname); in set_check_hostname() 2607 if (check_hostname < 0) in set_check_hostname() 2609 if (check_hostname && in set_check_hostname() 2616 self->check_hostname = check_hostname; in set_check_hostname()
|
/external/python/cpython3/Doc/library/ |
D | poplib.rst | 81 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 248 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
D | http.client.rst | 71 check_hostname=None, blocksize=8192) 81 *source_address*, *context* and *check_hostname* were added. 109 The *check_hostname* parameter is also deprecated; the 110 :attr:`ssl.SSLContext.check_hostname` attribute of *context* should
|
D | ssl.rst | 586 it does not match hostnames. :attr:`~SSLContext.check_hostname` must be 589 enables :attr:`~SSLContext.check_hostname` by default. 662 enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by 1179 :attr:`~SSLContext.check_hostname` attribute of the socket's 1879 .. attribute:: SSLContext.check_hostname 1898 context.check_hostname = True 2026 Whether :attr:`~SSLContext.check_hostname` falls back to verify the cert's 2234 set to :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` is set 2238 and :attr:`~SSLContext.check_hostname` validate the server certificate: it 2640 check is automatically performed when :attr:`SSLContext.check_hostname` is
|
D | ftplib.rst | 106 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 446 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
D | nntplib.rst | 126 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 274 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
D | imaplib.rst | 112 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 513 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
/external/python/cpython3/Modules/ |
D | _ssl.c | 435 int check_hostname; member 905 if (self->ctx->check_hostname) { in _ssl_configure_hostname() 3179 self->check_hostname = 1; in _ssl__SSLContext_impl() 3185 self->check_hostname = 0; in _ssl__SSLContext_impl() 3571 if (n == PY_SSL_CERT_NONE && self->check_hostname) { in set_verify_mode() 3804 return PyBool_FromLong(self->check_hostname); in get_check_hostname() 3810 int check_hostname; in set_check_hostname() local 3811 if (!PyArg_Parse(arg, "p", &check_hostname)) in set_check_hostname() 3813 if (check_hostname && in set_check_hostname() 3820 self->check_hostname = check_hostname; in set_check_hostname()
|
/external/python/cpython3/Lib/asyncio/ |
D | sslproto.py | 24 sslcontext.check_hostname = False
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1379 def __init__(self, debuglevel=0, context=None, check_hostname=None): argument 1382 self._check_hostname = check_hostname 1386 context=self._context, check_hostname=self._check_hostname)
|