|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
--- a/libarchive/archive_openssl_hmac_private.h.orig 2018-03-22 20:47:12 UTC
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
+++ b/libarchive/archive_openssl_hmac_private.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
@@ -28,7 +28,8 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
#include <openssl/hmac.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
#include <openssl/opensslv.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
#include <stdlib.h> /* malloc, free */
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
#include <string.h> /* memset */
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f16177 |
static inline HMAC_CTX *HMAC_CTX_new(void)
|