Message289352
I updated the test script to try with a file-descriptor set and OpenSSL returns TLSv1.2 for that one as well. This strongly suggests that OpenSSL's SSL_get_version documentation is somewhat misleading, and that an SSL object will return a version even when it's not connected.
If Python wants to consider this a bug, it will need to track connections state for the SSLObject like it does for the SSLSocket. Otherwise, Python can redocument version for SSLObject to say that it will always return a value. |
|
Date |
User |
Action |
Args |
2017-03-10 10:43:45 | Lukasa | set | recipients:
+ Lukasa, christian.heimes |
2017-03-10 10:43:45 | Lukasa | set | messageid: <1489142625.66.0.626152420677.issue29781@psf.upfronthosting.co.za> |
2017-03-10 10:43:45 | Lukasa | link | issue29781 messages |
2017-03-10 10:43:45 | Lukasa | create | |
|