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 /src | |
| parent | b2c70855a7b05f207f38f4bdd58fe6600bef9ec9 (diff) | |
| download | luaossl-970903e7d09c786797300294798ca5e8a2fa9593.tar.gz luaossl-970903e7d09c786797300294798ca5e8a2fa9593.tar.bz2 luaossl-970903e7d09c786797300294798ca5e8a2fa9593.zip | |
libressl has supported ALPN since 2.1.3
Diffstat (limited to 'src')
| -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 @@ | |||
| 84 | (LIBRESSL_VERSION_NUMBER >= (((M) << 28) | ((m) << 20) | ((p) << 12))) | 84 | (LIBRESSL_VERSION_NUMBER >= (((M) << 28) | ((m) << 20) | ((p) << 12))) |
| 85 | 85 | ||
| 86 | #ifndef HAVE_SSL_CTX_SET_ALPN_PROTOS | 86 | #ifndef HAVE_SSL_CTX_SET_ALPN_PROTOS |
| 87 | #define HAVE_SSL_CTX_SET_ALPN_PROTOS OPENSSL_PREREQ(1, 0, 2) | 87 | #define HAVE_SSL_CTX_SET_ALPN_PROTOS (OPENSSL_PREREQ(1, 0, 2) || LIBRESSL_PREREQ(2, 1, 3)) |
| 88 | #endif | 88 | #endif |
| 89 | 89 | ||
| 90 | #ifndef HAVE_SSL_CTX_SET_ALPN_SELECT_CB | 90 | #ifndef HAVE_SSL_CTX_SET_ALPN_SELECT_CB |
