Commit d9f8e54f authored by Antoine Pitrou's avatar Antoine Pitrou

Merged revisions 82210 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82210 | antoine.pitrou | 2010-06-25 02:03:21 +0200 (ven., 25 juin 2010) | 4 lines

  Issue #9075: In the ssl module, remove the setting of a `debug` flag
  on an OpenSSL structure.
........
parent be9c850f
...@@ -454,6 +454,9 @@ C-API ...@@ -454,6 +454,9 @@ C-API
Library 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 - Issue #8682: The ssl module now temporary increments the reference count of
a socket object got through ``PyWeakref_GetObject``, so as to avoid possible a socket object got through ``PyWeakref_GetObject``, so as to avoid possible
deallocation while the object is still being used. deallocation while the object is still being used.
......
...@@ -380,7 +380,6 @@ static PyObject *PySSL_SSLdo_handshake(PySSLSocket *self) ...@@ -380,7 +380,6 @@ static PyObject *PySSL_SSLdo_handshake(PySSLSocket *self)
Py_DECREF(sock); Py_DECREF(sock);
if (ret < 1) if (ret < 1)
return PySSL_SetError(self, ret, __FILE__, __LINE__); return PySSL_SetError(self, ret, __FILE__, __LINE__);
self->ssl->debug = 1;
if (self->peer_cert) if (self->peer_cert)
X509_free (self->peer_cert); X509_free (self->peer_cert);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment