libarchive: fix build with libressl 2.7.4
[unleashed-userland.git] / components / library / libarchive / patches / libressl.patch
blobe85843c4585b76a438a1460cef0b99fd5aaf7da8
1 --- a/libarchive/archive_openssl_hmac_private.h.orig Sun Jan 29 06:06:27 2017
2 +++ b/libarchive/archive_openssl_hmac_private.h Fri Mar 10 12:53:43 2017
3 @@ -28,7 +28,7 @@
4 #include <openssl/hmac.h>
5 #include <openssl/opensslv.h>
7 -#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
8 +#if OPENSSL_VERSION_NUMBER < 0x10100000L
9 #include <stdlib.h> /* malloc, free */
10 #include <string.h> /* memset */
11 static inline HMAC_CTX *HMAC_CTX_new(void)