diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-05 14:25:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-06 05:19:28 +0000 |
commit | d389d9a12e4ea9dc34c2e8547f76a8e52c07203b (patch) | |
tree | debf0e7c8f1292bca366b4ac59b3f7516ec44533 /community/duo_unix/libressl-2.7.patch | |
parent | 6d95f20d6b0e9e11d47d9eba675ce36d9fdf70dc (diff) | |
download | aports-d389d9a12e4ea9dc34c2e8547f76a8e52c07203b.tar.bz2 aports-d389d9a12e4ea9dc34c2e8547f76a8e52c07203b.tar.xz |
community/duo_unix: fix rebuild against libressl-2.7
Diffstat (limited to 'community/duo_unix/libressl-2.7.patch')
-rw-r--r-- | community/duo_unix/libressl-2.7.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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) + { |