|
Lines 28-30
Link Here
|
| 28 |
#ifdef SSL_OP_NO_COMPRESSION |
28 |
#ifdef SSL_OP_NO_COMPRESSION |
| 29 |
static const long Cryptography_HAS_OP_NO_COMPRESSION = 1; |
29 |
static const long Cryptography_HAS_OP_NO_COMPRESSION = 1; |
| 30 |
#else |
30 |
#else |
|
|
31 |
@@ -524,7 +530,7 @@ static const long Cryptography_HAS_NEXTP |
| 32 |
#endif |
| 33 |
|
| 34 |
/* ALPN was added in OpenSSL 1.0.2. */ |
| 35 |
-#if OPENSSL_VERSION_NUMBER < 0x10002001L |
| 36 |
+#if OPENSSL_VERSION_NUMBER < 0x10002001L && !defined(LIBRESSL_VERSION_NUMBER) |
| 37 |
int (*SSL_CTX_set_alpn_protos)(SSL_CTX *, |
| 38 |
const unsigned char *, |
| 39 |
unsigned) = NULL; |