Author complex
Recipients complex
Date 2007-11-11.02:31:57
SpamBayes Score 0.375478
Marked as misclassified No
Message-id <1194748319.4.0.022602913069.issue1419@psf.upfronthosting.co.za>
In-reply-to
Content
The SSLSocket.accept() method passes arguments to SSLSocket's
constructor in wrong order which causes TypeError later in the
constructor. Proposed patch to ssl.__init__.py:

@@ -257,7 +257,7 @@
         SSL channel, and the address of the remote client."""

         newsock, addr = socket.accept(self)
-        return (SSLSocket(newsock, True, self.keyfile, self.certfile,
+        return (SSLSocket(newsock, self.keyfile, self.certfile, True,
                           self.cert_reqs, self.ssl_version,
                           self.ca_certs, self.do_handshake_on_connect),
addr)
History
Date User Action Args
2007-11-11 02:31:59complexsetspambayes_score: 0.375478 -> 0.375478
recipients: + complex
2007-11-11 02:31:59complexsetspambayes_score: 0.375478 -> 0.375478
messageid: <1194748319.4.0.022602913069.issue1419@psf.upfronthosting.co.za>
2007-11-11 02:31:59complexlinkissue1419 messages
2007-11-11 02:31:57complexcreate