summaryrefslogtreecommitdiff
path: root/libarchive/archive_hmac_private.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-17 15:26:41 -0500
committerBrad King <brad.king@kitware.com>2016-11-21 13:56:54 -0500
commitaa8f77083954fe0f41327ab856be59c370d4c13b (patch)
treef2da7846513b7ef49aa913e8ee77acf355adc2e9 /libarchive/archive_hmac_private.h
parent1e3a1ed7fdd0fe52802cf43d13c39fdd90e2225f (diff)
downloadlibarchive-aa8f77083954fe0f41327ab856be59c370d4c13b.tar.gz
Add infrastructure 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 'libarchive/archive_hmac_private.h')
-rw-r--r--libarchive/archive_hmac_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_hmac_private.h b/libarchive/archive_hmac_private.h
index 64de743c..f36d6940 100644
--- a/libarchive/archive_hmac_private.h
+++ b/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;