Message216792
| 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? |
|