diff options
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | Modules/_ssl.c | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -72,6 +72,9 @@ C-API Library ------- +- Issue #9075: In the ssl module, remove the setting of a ``debug`` flag + on an OpenSSL structure. + - Issue #8682: The ssl module now temporary increments the reference count of a socket object got through ``PyWeakref_GetObject``, so as to avoid possible deallocation while the object is still being used. diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 52fd3f9..ecd081e 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -500,7 +500,6 @@ static PyObject *PySSL_SSLdo_handshake(PySSLObject *self) Py_DECREF(sock); if (ret < 1) return PySSL_SetError(self, ret, __FILE__, __LINE__); - self->ssl->debug = 1; if (self->peer_cert) X509_free (self->peer_cert); |