Alex Gaynor added the comment:

If check_hostname is set on the context then do_handshake() will already 
perform the hostname check: 
https://hg.python.org/cpython/file/default/Lib/ssl.py#l787

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22440>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to