Author pitrou
Recipients alex, christian.heimes, dstufft, ethan.furman, giampaolo.rodola, janssen, pitrou
Date 2014-04-18.18:41:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397846466.72.0.549969013812.issue20421@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2014-04-18 18:41:06pitrousetrecipients: + pitrou, janssen, giampaolo.rodola, christian.heimes, alex, ethan.furman, dstufft
2014-04-18 18:41:06pitrousetmessageid: <1397846466.72.0.549969013812.issue20421@psf.upfronthosting.co.za>
2014-04-18 18:41:06pitroulinkissue20421 messages
2014-04-18 18:41:06pitroucreate