This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Lukasa
Recipients Lukasa, christian.heimes
Date 2017-03-10.10:43:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489142625.66.0.626152420677.issue29781@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-03-10 10:43:45Lukasasetrecipients: + Lukasa, christian.heimes
2017-03-10 10:43:45Lukasasetmessageid: <1489142625.66.0.626152420677.issue29781@psf.upfronthosting.co.za>
2017-03-10 10:43:45Lukasalinkissue29781 messages
2017-03-10 10:43:45Lukasacreate