From da5a8e4feff6173307393c85b82a6329a84b41cd Mon Sep 17 00:00:00 2001 From: Sam Lin Date: Sun, 10 Nov 2024 02:47:42 -0600 Subject: [PATCH] Update OpenSSL includes and compatibility checks in crypto files https://github.com/AGWA/git-crypt/pull/249 --- crypto-openssl-10.cpp | 4 ++-- crypto-openssl-11.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto-openssl-10.cpp b/crypto-openssl-10.cpp index f0f2c53..93079ef 100644 --- a/crypto-openssl-10.cpp +++ b/crypto-openssl-10.cpp @@ -28,9 +28,9 @@ * as that of the covered work. */ -#include +#include -#if !defined(OPENSSL_API_COMPAT) +#if defined(HMAC_cleanup) #include "crypto.hpp" #include "key.hpp" diff --git a/crypto-openssl-11.cpp b/crypto-openssl-11.cpp index adf03bb..5fe23ef 100644 --- a/crypto-openssl-11.cpp +++ b/crypto-openssl-11.cpp @@ -28,9 +28,9 @@ * as that of the covered work. */ -#include +#include -#if defined(OPENSSL_API_COMPAT) +#if !defined(HMAC_cleanup) #include "crypto.hpp" #include "key.hpp"