mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
disable ALPN on LibreSSL, which has a large version number, but not ALPN support (closes #23329)
This commit is contained in:
parent
f8d1a31e70
commit
07f0515667
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ struct py_ssl_library_code {
|
|||
#endif
|
||||
|
||||
/* ALPN added in OpenSSL 1.0.2 */
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(OPENSSL_NO_TLSEXT)
|
||||
#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(OPENSSL_NO_TLSEXT)
|
||||
# define HAVE_ALPN
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue