summaryrefslogtreecommitdiff
path: root/archivers/libarchive/files/libarchive-archive_openssl_evp_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libarchive/files/libarchive-archive_openssl_evp_private.h')
-rw-r--r--archivers/libarchive/files/libarchive-archive_openssl_evp_private.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/libarchive/files/libarchive-archive_openssl_evp_private.h b/archivers/libarchive/files/libarchive-archive_openssl_evp_private.h
new file mode 100644
index 000000000000..d07b8a0f3277
--- /dev/null
+++ b/archivers/libarchive/files/libarchive-archive_openssl_evp_private.h
@@ -0,0 +1,11 @@
+--- libarchive/archive_openssl_evp_private.h.orig Sun Jan 29 06:06:27 2017
++++ libarchive/archive_openssl_evp_private.h Fri Mar 10 12:53:43 2017
+@@ -28,7 +28,7 @@
+ #include <openssl/evp.h>
+ #include <openssl/opensslv.h>
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ #include <stdlib.h> /* malloc, free */
+ #include <string.h> /* memset */
+ static inline EVP_MD_CTX *EVP_MD_CTX_new(void)