[Python-checkins] r82210 - in python/trunk: Misc/NEWS Modules/_ssl.c

antoine.pitrou python-checkins at python.org
Fri Jun 25 02:03:21 CEST 2010


Author: antoine.pitrou
Date: Fri Jun 25 02:03:21 2010
New Revision: 82210

Log:
Issue #9075: In the ssl module, remove the setting of a `debug` flag
on an OpenSSL structure.



Modified:
   python/trunk/Misc/NEWS
   python/trunk/Modules/_ssl.c

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Fri Jun 25 02:03:21 2010
@@ -17,6 +17,9 @@
 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?
 =============================================

Modified: python/trunk/Modules/_ssl.c
==============================================================================
--- python/trunk/Modules/_ssl.c	(original)
+++ python/trunk/Modules/_ssl.c	Fri Jun 25 02:03:21 2010
@@ -497,7 +497,6 @@
     } 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);


More information about the Python-checkins mailing list