aboutsummaryrefslogtreecommitdiffstats
path: root/community/duo_unix/libressl-2.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/duo_unix/libressl-2.7.patch')
-rw-r--r--community/duo_unix/libressl-2.7.patch13
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)
+ {