summaryrefslogtreecommitdiff
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-26 09:51:12 -0400
committerBrad King <brad.king@kitware.com>2018-09-26 09:51:12 -0400
commit97e1213a88437835256aba8e9628a5375265978f (patch)
tree7e6986f197cfe79978d20fde229c7b160d340e7f /Utilities
parent3181f8405bc949affb8ea321ec7746b44717fd99 (diff)
parente7e88e955bc773be792e645ee8558d78b4183a87 (diff)
downloadcmake-97e1213a88437835256aba8e9628a5375265978f.tar.gz
Merge branch 'libarchive-libressl-2.7' into update-libarchive
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h b/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h
index 59f95b80af..921249bb94 100644
--- a/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h
+++ b/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h
@@ -28,7 +28,8 @@
#include <openssl/hmac.h>
#include <openssl/opensslv.h>
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
#include <stdlib.h> /* malloc, free */
#include <string.h> /* memset */
static inline HMAC_CTX *HMAC_CTX_new(void)