Message216792
Ok, it came to me that converting to one of the PROTOCOL* constants can fail in the following case: Python is linked with an OpenSSL that supports a more recent protocol version than the ssl module is aware of. SSL_get_version() can then return a protocol (e.g. "TLSv1.3") that we don't know about, and have no way of converting to an existing constant.
So perhaps we should really simply return the same string as OpenSSL? |
|
Date |
User |
Action |
Args |
2014-04-18 18:41:06 | pitrou | set | recipients:
+ pitrou, janssen, giampaolo.rodola, christian.heimes, alex, ethan.furman, dstufft |
2014-04-18 18:41:06 | pitrou | set | messageid: <1397846466.72.0.549969013812.issue20421@psf.upfronthosting.co.za> |
2014-04-18 18:41:06 | pitrou | link | issue20421 messages |
2014-04-18 18:41:06 | pitrou | create | |
|