]> granicus.if.org Git - python/commitdiff
Issue #9075: In the ssl module, remove the setting of a `debug` flag
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 25 Jun 2010 00:03:21 +0000 (00:03 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 25 Jun 2010 00:03:21 +0000 (00:03 +0000)
on an OpenSSL structure.

Misc/NEWS
Modules/_ssl.c

index 70ce171577e7cba04a8d64c566b5a9f2930364e5..828621292d0b20c41969aaac080ec27726bef0b1 100644 (file)
--- 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?
 =============================================
index fe029ceef66d1b43a91ffa0efdd563a183c0fe5d..e44fa074fabcc1e36c116d9e9b17130536aa1bb9 100644 (file)
@@ -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);