Bernard Spil added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23329> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com