mirror of
https://github.com/python/cpython.git
synced 2024-12-15 04:44:47 +08:00
merge 3.5 (#23329)
This commit is contained in:
commit
c78f27d239
@ -141,6 +141,9 @@ Core and Builtins
|
||||
Library
|
||||
-------
|
||||
|
||||
- Issue #23329: Allow the ssl module to be built with older versions of
|
||||
LibreSSL.
|
||||
|
||||
- Prevent overflow in _Unpickler_Read.
|
||||
|
||||
- Issue #25047: The XML encoding declaration written by Element Tree now
|
||||
|
@ -109,8 +109,7 @@ struct py_ssl_library_code {
|
||||
# define HAVE_SNI 0
|
||||
#endif
|
||||
|
||||
/* ALPN added in OpenSSL 1.0.2 */
|
||||
#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(OPENSSL_NO_TLSEXT)
|
||||
#ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
|
||||
# define HAVE_ALPN
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user