[New-bugs-announce] [issue1419] ssl module version 1.10 causes TypeError when accepting connection
Viktor Ferenczi
report at bugs.python.org
Sun Nov 11 03:31:59 CET 2007
New submission from Viktor Ferenczi:
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)
----------
components: Library (Lib)
messages: 57364
nosy: complex
severity: critical
status: open
title: ssl module version 1.10 causes TypeError when accepting connection
type: crash
versions: Python 2.6
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1419>
__________________________________
More information about the New-bugs-announce
mailing list