From 970903e7d09c786797300294798ca5e8a2fa9593 Mon Sep 17 00:00:00 2001 From: William Ahern Date: Wed, 19 Oct 2016 14:39:16 -0700 Subject: libressl has supported ALPN since 2.1.3 --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/openssl.c b/src/openssl.c index 88561aa..e493ae4 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -84,7 +84,7 @@ (LIBRESSL_VERSION_NUMBER >= (((M) << 28) | ((m) << 20) | ((p) << 12))) #ifndef HAVE_SSL_CTX_SET_ALPN_PROTOS -#define HAVE_SSL_CTX_SET_ALPN_PROTOS OPENSSL_PREREQ(1, 0, 2) +#define HAVE_SSL_CTX_SET_ALPN_PROTOS (OPENSSL_PREREQ(1, 0, 2) || LIBRESSL_PREREQ(2, 1, 3)) #endif #ifndef HAVE_SSL_CTX_SET_ALPN_SELECT_CB -- cgit v1.2.3-59-g8ed1b