mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
Plus: fix the libressl patch to align with this upstream PR: https://github.com/duosecurity/duo_unix/pull/116
14 lines
472 B
Diff
14 lines
472 B
Diff
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 || LIBRESSL_VERSION_NUMBER < 0x2070000fL
|
|
static HMAC_CTX *
|
|
HMAC_CTX_new(void)
|
|
{
|