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_cryptor_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_cryptor_private.h')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_cryptor_private.h | 2 |
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 1c1a8c0..0ca544b 100644 --- a/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h +++ b/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h @@ -104,7 +104,7 @@ typedef struct { #define AES_MAX_KEY_SIZE 32 typedef struct { - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx; const EVP_CIPHER *type; uint8_t key[AES_MAX_KEY_SIZE]; unsigned key_len; |