[issue12000] SSL certificate verification failed if no dNSName entry in subjectAltName

Antoine Pitrou report at bugs.python.org
Thu May 5 15:35:36 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Are you sure about "if not san and not dnsnames"? It is even more restrictive than the currently condition. "if not dnsnames" looks like it would fit the bill better.

Also, better if you can provide a complete patch, including additional test(s) in Lib/test/test_ssl.py.
(see http://docs.python.org/devguide/runtests.html if you want information about running/writing tests)

----------
nosy: +pitrou
versions:  -Python 3.4

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


More information about the Python-bugs-list mailing list