Issue #9075: In the ssl module, remove the setting of a `debug` flag
on an OpenSSL structure.
This commit is contained in:
parent
3db4161011
commit
0dddf600d4
|
@ -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?
|
||||
=============================================
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue