[issue29781] SSLObject.version returns incorrect value before handshake.

Cory Benfield report at bugs.python.org
Fri Mar 10 05:29:00 EST 2017


Cory Benfield added the comment:

This actually appears to be an outcome of OpenSSL's logic. I've attached a smallish C file that, when run against OpenSSL 1.0.2 on my machine, prints "TLSv1.2".

This seems like a behaviour we'll have to work around in Python to get the outcome we want here.

----------
Added file: http://bugs.python.org/file46715/test.c

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29781>
_______________________________________


More information about the Python-bugs-list mailing list