From e4468e6d8dc5a8a7e49f2ba77ed55ce2b282d4a7 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 14 Jul 2020 09:40:29 +1000 Subject: deprecate engines in libcrypto Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/12226) --- crypto/evp/digest.c | 3 +++ crypto/evp/evp_enc.c | 3 +++ crypto/evp/pkey_mac.c | 3 +++ 3 files changed, 9 insertions(+) (limited to 'crypto/evp') diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c index 92e9b7bfb0..3d25b75be7 100644 --- a/crypto/evp/digest.c +++ b/crypto/evp/digest.c @@ -7,6 +7,9 @@ * https://www.openssl.org/source/license.html */ +/* We need to use some engine deprecated APIs */ +#define OPENSSL_SUPPRESS_DEPRECATED + #include #include #include diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c index ec966a0ed5..b8cb5daad0 100644 --- a/crypto/evp/evp_enc.c +++ b/crypto/evp/evp_enc.c @@ -7,6 +7,9 @@ * https://www.openssl.org/source/license.html */ +/* We need to use some engine deprecated APIs */ +#define OPENSSL_SUPPRESS_DEPRECATED + #include #include #include "internal/cryptlib.h" diff --git a/crypto/evp/pkey_mac.c b/crypto/evp/pkey_mac.c index 55badea7e9..784fca956d 100644 --- a/crypto/evp/pkey_mac.c +++ b/crypto/evp/pkey_mac.c @@ -7,6 +7,9 @@ * https://www.openssl.org/source/license.html */ +/* We need to use some engine deprecated APIs */ +#define OPENSSL_SUPPRESS_DEPRECATED + #include #include #include -- cgit v1.2.1