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)
This commit is contained in:
David von Oheimb 2019-07-30 08:40:32 +02:00 committed by Dr. Matthias St. Pierre
parent ff988500c2
commit decdb980de

View file

@ -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;