Submitted By: Igor Živković Date: 2016-03-26 Initial Package Version: 7.48.0 Upstream Status: Fixed Origin: Upstream Description: Fixes build with LibreSSL. diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index cbf2d21..f8ccb23 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -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