From decdb980de7668214e8052c61704ba9f6b3583c5 Mon Sep 17 00:00:00 2001 From: David von Oheimb Date: Tue, 30 Jul 2019 08:40:32 +0200 Subject: [PATCH] Fix deprecation inconsisteny w.r.t. CRYPTO_mem_debug_{push,pop}() Reviewed-by: Richard Levitte Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/9483) --- crypto/mem_dbg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c index 3b1e37f301..1a08b2bb9e 100644 --- a/crypto/mem_dbg.c +++ b/crypto/mem_dbg.c @@ -209,6 +209,7 @@ static unsigned long mem_hash(const MEM *a) return ret; } +#if !OPENSSL_API_3 int CRYPTO_mem_debug_push(const char *info, const char *file, int line) { return 0; @@ -218,6 +219,7 @@ int CRYPTO_mem_debug_pop(void) { return 0; } +#endif static unsigned long break_order_num = 0; -- 2.25.1