From 0dddf600d480108040557ebb24584ae86cf46a09 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 25 Jun 2010 00:03:21 +0000 Subject: Issue #9075: In the ssl module, remove the setting of a `debug` flag on an OpenSSL structure. --- Misc/NEWS | 3 +++ Modules/_ssl.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index 70ce171..8286212 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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? ============================================= diff --git a/Modules/_ssl.c b/Modules/_ssl.c index fe029ce..e44fa07 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -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); -- cgit v0.12