[issue21025] if check_hostname is true, context can't be used for server purposes

2014-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: (of course, it may be better to have separate contexts for client and server use, but it can also be convenient to use a single context - especially when doing tests :-)) -- ___ Python tracker

[issue21025] if check_hostname is true, context can't be used for server purposes

2014-03-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +dstufft ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21025] if check_hostname is true, context can't be used for server purposes

2014-03-22 Thread Antoine Pitrou
New submission from Antoine Pitrou: On a SSLContext with check_hostname = True, calling wrap_socket(..., server_side=True) will complain that no server hostname has been passed. This should only be done for client sockets. -- components: Library (Lib) messages: 214462 nosy: christian.h