diff options
author | Brad King <brad.king@kitware.com> | 2016-11-17 20:44:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-28 19:55:42 (GMT) |
commit | 6f23daea4391c2db8bc27d2e4cb42eac02368822 (patch) | |
tree | 8b02f00650d1441c07baf99c3f51dddc2ae4a420 /Utilities/cmlibarchive/libarchive/archive_hmac_private.h | |
parent | 7d433206cf7de8f28aa2d169ed25cd401fcfc413 (diff) | |
download | CMake-6f23daea4391c2db8bc27d2e4cb42eac02368822.zip CMake-6f23daea4391c2db8bc27d2e4cb42eac02368822.tar.gz CMake-6f23daea4391c2db8bc27d2e4cb42eac02368822.tar.bz2 |
libarchive: Add support for building with OpenSSL 1.1
OpenSSL 1.1 made some CTX structures opaque. Port our code to use the
structures only through pointers via OpenSSL 1.1 APIs. Use our adaption
layer to make this work with OpenSSL 1.0 and below.
Patch-by: Tomas Mraz <tmraz@redhat.com>
Patch-from: https://bugzilla.redhat.com/1383744
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 f36d694..eb45c4e 100644 --- a/Utilities/cmlibarchive/libarchive/archive_hmac_private.h +++ b/Utilities/cmlibarchive/libarchive/archive_hmac_private.h @@ -72,7 +72,7 @@ typedef struct hmac_sha1_ctx archive_hmac_sha1_ctx; #elif defined(HAVE_LIBCRYPTO) #include "archive_openssl_hmac_private.h" -typedef HMAC_CTX archive_hmac_sha1_ctx; +typedef HMAC_CTX* archive_hmac_sha1_ctx; #else |