[issue28085] SSL: Add client and server protocols for SSLContext

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: The issue is resolved. I'll address the other PROTOCOL constants in my upcoming PEP. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28085] SSL: Add client and server protocols for SSLContext

2016-09-15 Thread Christian Heimes
Changes by Christian Heimes : -- components: +SSL ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28085] SSL: Add client and server protocols for SSLContext

2016-09-11 Thread Christian Heimes
Christian Heimes added the comment: I pushed basic support for PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER in 3ea641343244. I have another patch that removes PROTOCOL_TLS again and changes create_default_context() to return either a server and client SSLContext. The change is a small possibili

[issue28085] SSL: Add client and server protocols for SSLContext

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ea641343244 by Christian Heimes in branch 'default': Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext https://hg.python.org/cpython/rev/3ea641343244 -- nosy: +python-dev ___ P

[issue28085] SSL: Add client and server protocols for SSLContext

2016-09-11 Thread Christian Heimes
New submission from Christian Heimes: In ticket #28022 and in thread https://mail.python.org/pipermail/python-dev/2016-September/146366.html I discussed two new protocols for SSLContext: PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER. A SSLContext with PROTOCOL_TLS_CLIENT can only create connect