summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDavid von Oheimb <David.von.Oheimb@siemens.com>2019-07-30 08:40:32 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-08-04 13:15:30 +0200
commitdecdb980de7668214e8052c61704ba9f6b3583c5 (patch)
treee240b6d10c017cb418f4f8d61c330a31fa3d9a48 /crypto
parentff988500c2f39ae61b2836167b6e0e7b2021220c (diff)
Fix deprecation inconsisteny w.r.t. CRYPTO_mem_debug_{push,pop}()
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/9483)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/mem_dbg.c2
1 files changed, 2 insertions, 0 deletions
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;