blob: 7f76222e468aacbab9b2d257952e5d6611088371 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- curl-7.48.0.orig/lib/vtls/openssl.c 2016-03-22 08:15:38.000000000 +0100
+++ curl-7.48.0/lib/vtls/openssl.c 2016-04-10 10:45:18.637693023 +0200
@@ -95,7 +95,8 @@
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
#define HAVE_ERR_REMOVE_THREAD_STATE 1
-#if (OPENSSL_VERSION_NUMBER >= 0x10100004L)
+#if (OPENSSL_VERSION_NUMBER >= 0x10100004L) && \
+ !defined(LIBRESSL_VERSION_NUMBER)
/* OpenSSL 1.1.0-pre4 removed the argument! */
#define HAVE_ERR_REMOVE_THREAD_STATE_NOARG 1
#endif
|