Message251408
| Author |
spil |
| Recipients |
Arfrever, benjamin.peterson, python-dev, rpointel, spil, vstinner |
| Date |
2015年09月23日.06:59:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1442991571.13.0.618826650615.issue23329@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Checking if the method is actually defined is the smart way to go
From include/openssl/tls1.h
# define TLSEXT_TYPE_application_layer_protocol_negotiation
So #ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
would show you if the feature is available regardless of the implementation (Open|Boring|Libre)SSL |
|