summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-17 20:26:41 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-28 19:55:42 (GMT)
commit7d433206cf7de8f28aa2d169ed25cd401fcfc413 (patch)
tree04c498f437c41bc3ddf92893deef6e59c6baff65 /Utilities/cmlibarchive/libarchive/archive_cryptor_private.h
parent5cfc2e926af645840c6a0464451af18f08528879 (diff)
downloadCMake-7d433206cf7de8f28aa2d169ed25cd401fcfc413.zip
CMake-7d433206cf7de8f28aa2d169ed25cd401fcfc413.tar.gz
CMake-7d433206cf7de8f28aa2d169ed25cd401fcfc413.tar.bz2
libarchive: Add headers to adapt between OpenSSL 1.1 and older versions
Add private forwarding headers for `openssl/{evp,hmac}.h` to give us a central place to add adaptation code to work across multiple incompatible OpenSSL versions. Provide compatibility implementations of some OpenSSL 1.1 APIs when using older OpenSSL versions.
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_cryptor_private.h')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_cryptor_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h b/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h
index 37eaad3..1c1a8c0 100644
--- a/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h
+++ b/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h
@@ -99,7 +99,7 @@ typedef struct {
} archive_crypto_ctx;
#elif defined(HAVE_LIBCRYPTO)
-#include <openssl/evp.h>
+#include "archive_openssl_evp_private.h"
#define AES_BLOCK_SIZE 16
#define AES_MAX_KEY_SIZE 32