diff --git a/crypto-openssl-10.cpp b/crypto-openssl-10.cpp index f0f2c53..1623690 100644 --- a/crypto-openssl-10.cpp +++ b/crypto-openssl-10.cpp @@ -28,16 +28,15 @@ * as that of the covered work. */ -#include +#include -#if !defined(OPENSSL_API_COMPAT) +#if defined(HMAC_cleanup) #include "crypto.hpp" #include "key.hpp" #include "util.hpp" #include #include -#include #include #include #include diff --git a/crypto-openssl-11.cpp b/crypto-openssl-11.cpp index adf03bb..518b90c 100644 --- a/crypto-openssl-11.cpp +++ b/crypto-openssl-11.cpp @@ -28,16 +28,15 @@ * as that of the covered work. */ -#include +#include -#if defined(OPENSSL_API_COMPAT) +#if !defined(HMAC_cleanup) #include "crypto.hpp" #include "key.hpp" #include "util.hpp" #include #include -#include #include #include #include