From: Antoine Pitrou Date: Fri, 25 Jun 2010 00:03:21 +0000 (+0000) Subject: Issue #9075: In the ssl module, remove the setting of a `debug` flag X-Git-Tag: v2.7~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dddf600d480108040557ebb24584ae86cf46a09;p=python Issue #9075: In the ssl module, remove the setting of a `debug` flag on an OpenSSL structure. --- diff --git a/Misc/NEWS b/Misc/NEWS index 70ce171577..828621292d 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 fe029ceef6..e44fa074fa 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);