From d389d9a12e4ea9dc34c2e8547f76a8e52c07203b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 5 Apr 2018 14:25:37 +0000 Subject: community/duo_unix: fix rebuild against libressl-2.7 --- community/duo_unix/libressl-2.7.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/duo_unix/libressl-2.7.patch (limited to 'community/duo_unix/libressl-2.7.patch') diff --git a/community/duo_unix/libressl-2.7.patch b/community/duo_unix/libressl-2.7.patch new file mode 100644 index 0000000000..8a4269dd69 --- /dev/null +++ b/community/duo_unix/libressl-2.7.patch @@ -0,0 +1,13 @@ +diff --git a/lib/https.c b/lib/https.c +index 33c296a..b526add 100644 +--- a/lib/https.c ++++ b/lib/https.c +@@ -353,7 +353,7 @@ _establish_connection(struct https_request * const req, + * building for OpenSSL versions older than 1.1.0 + * or any version of LibreSSL. + */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + static HMAC_CTX * + HMAC_CTX_new(void) + { -- cgit v1.2.3