mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
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
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue