STINNER Victor added the comment:

Oh, in Python 3.4, create_default_context() uses PROTOCOL_SSLv23, SSLSocket, 
wrap_socket() and _create_unverified_context() use PROTOCOL_SSLv23 by default.

In Python 3.5, get_server_certificate() now uses PROTOCOL_SSLv23 by default 
because test_ssl failed on the host svn.python.org: see issue #20896.

changeset:   90360:55f62fa5bebc
user:        Antoine Pitrou <solip...@pitrou.net>
date:        Wed Apr 16 18:56:28 2014 +0200
files:       Doc/library/ssl.rst Lib/ssl.py Lib/test/test_ssl.py Misc/NEWS
description:
Issue #20896: ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not 
PROTOCOL_SSLv3, for maximum compatibility.

----------

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

Reply via email to