diff options
author | William Ahern <william@25thandClement.com> | 2016-10-19 14:39:16 -0700 |
---|---|---|
committer | William Ahern <william@25thandClement.com> | 2016-10-19 14:39:16 -0700 |
commit | 970903e7d09c786797300294798ca5e8a2fa9593 (patch) | |
tree | ba1e57252a798b9b3bff649664e3bbc4b8fcb6f4 | |
parent | b2c70855a7b05f207f38f4bdd58fe6600bef9ec9 (diff) | |
download | luaossl-970903e7d09c786797300294798ca5e8a2fa9593.tar.gz luaossl-970903e7d09c786797300294798ca5e8a2fa9593.tar.bz2 luaossl-970903e7d09c786797300294798ca5e8a2fa9593.zip |
libressl has supported ALPN since 2.1.3
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |