aboutsummaryrefslogtreecommitdiffstats
path: root/main/serf/libressl.patch
blob: 7a89cea046f828f3672a50881d4caf8f32d4fd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./buckets/ssl_buckets.c.orig
+++ ./buckets/ssl_buckets.c
@@ -52,7 +52,7 @@
 #define APR_ARRAY_PUSH(ary,type) (*((type *)apr_array_push(ary)))
 #endif
 
-#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
 #define USE_OPENSSL_1_1_API
 #endif