Commit 9257eef1 authored by Benjamin Peterson's avatar Benjamin Peterson

disable ALPN on LibreSSL, which has a large version number, but not ALPN support (closes #23329)

parent a587f40e
......@@ -106,7 +106,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment