diff options
author | Brad King <brad.king@kitware.com> | 2016-11-17 20:26:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-28 19:55:42 (GMT) |
commit | 7d433206cf7de8f28aa2d169ed25cd401fcfc413 (patch) | |
tree | 04c498f437c41bc3ddf92893deef6e59c6baff65 /Utilities/cmlibarchive/libarchive/archive_hmac_private.h | |
parent | 5cfc2e926af645840c6a0464451af18f08528879 (diff) | |
download | CMake-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_hmac_private.h')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_hmac_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_hmac_private.h b/Utilities/cmlibarchive/libarchive/archive_hmac_private.h index 64de743..f36d694 100644 --- a/Utilities/cmlibarchive/libarchive/archive_hmac_private.h +++ b/Utilities/cmlibarchive/libarchive/archive_hmac_private.h @@ -70,7 +70,7 @@ typedef struct { typedef struct hmac_sha1_ctx archive_hmac_sha1_ctx; #elif defined(HAVE_LIBCRYPTO) -#include <openssl/hmac.h> +#include "archive_openssl_hmac_private.h" typedef HMAC_CTX archive_hmac_sha1_ctx; |