mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
detect alpn by feature flag not openssl version (closes #23329)
This commit is contained in:
parent
34a8047672
commit
d330822c12
2 changed files with 4 additions and 2 deletions
|
|
@ -21,6 +21,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #23329: Allow the ssl module to be built with older versions of
|
||||||
|
LibreSSL.
|
||||||
|
|
||||||
- Prevent overflow in _Unpickler_Read.
|
- Prevent overflow in _Unpickler_Read.
|
||||||
|
|
||||||
- Issue #25047: The XML encoding declaration written by Element Tree now
|
- Issue #25047: The XML encoding declaration written by Element Tree now
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,7 @@ struct py_ssl_library_code {
|
||||||
# define HAVE_SNI 0
|
# define HAVE_SNI 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ALPN added in OpenSSL 1.0.2 */
|
#ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
|
||||||
#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(OPENSSL_NO_TLSEXT)
|
|
||||||
# define HAVE_ALPN
|
# define HAVE_ALPN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue