[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

Christian Heimes report at bugs.python.org
Thu Dec 5 17:13:37 CET 2013


Christian Heimes added the comment:

The new patch splits the test into three separate test cases.

Guido, Python 3.3 doesn't have the necessary CA and server cert files. The files were added to 3.4 for some other tests. The patch tries to load the files from 3.4's test directory and falls back to local copies. You have to copy/delete these files to test the patch:

$ hg rm Lib/test/test_asyncio/sample.*
$ hg cp Lib/test/ssl_key.pem Lib/test/ssl_cert.pem Lib/test/pycacert.pem Lib/test/keycert3.pem  Lib/test/test_asyncio/

----------
Added file: http://bugs.python.org/file32991/asyncio_ssl_verify2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19509>
_______________________________________


More information about the Python-bugs-list mailing list