Issue #9075: In the ssl module, remove the setting of a `debug` flag

on an OpenSSL structure.
This commit is contained in:
Antoine Pitrou 2010-06-25 00:03:21 +00:00
parent 3db4161011
commit 0dddf600d4
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,9 @@ Core and Builtins
Library
-------
- Issue #9075: In the ssl module, remove the setting of a ``debug`` flag
on an OpenSSL structure.
What's New in Python 2.7 release candidate 2?
=============================================

View File

@ -497,7 +497,6 @@ static PyObject *PySSL_SSLdo_handshake(PySSLObject *self)
} while (err == SSL_ERROR_WANT_READ || err == SSL_ERROR_WANT_WRITE);
if (ret < 1)
return PySSL_SetError(self, ret, __FILE__, __LINE__);
self->ssl->debug = 1;
if (self->peer_cert)
X509_free (self->peer_cert);