[issue13721] ssl.wrap_socket on a connected but failed connection succeeds and .peer_certificate gives AttributeError
Roundup Robot
report at bugs.python.org
Wed May 1 20:52:15 CEST 2013
Roundup Robot added the comment:
New changeset e6b962fa44bb by Antoine Pitrou in branch 'default':
Issue #13721: SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise an OSError with ENOTCONN, instead of an AttributeError, when the SSLSocket is not connected.
http://hg.python.org/cpython/rev/e6b962fa44bb
----------
nosy: +python-dev
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13721>
_______________________________________
More information about the Python-bugs-list
mailing list