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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1419>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com