X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fcrypto.h;h=e71214e9551b1b868a72a2c1d95684391746c9ee;hp=70feb7fa7178bc3e49434a039ea731042896f712;hb=4fae386cb0563a0c05c2817a5ccb3c18e6d62d8d;hpb=c99de0533debc8a6ed08b47b414bdea19457eafd diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index 70feb7fa71..e71214e955 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h @@ -507,11 +507,12 @@ void OPENSSL_cleanse(void *ptr, size_t len); void CRYPTO_set_mem_debug_options(long bits); long CRYPTO_get_mem_debug_options(void); -# define CRYPTO_push_info(info) \ - CRYPTO_push_info_(info, __FILE__, __LINE__); -int CRYPTO_push_info_(const char *info, const char *file, int line); -int CRYPTO_pop_info(void); -int CRYPTO_remove_all_info(void); +# define OPENSSL_mem_debug_push(info) \ + CRYPTO_mem_debug_push(info, __FILE__, __LINE__) +# define OPENSSL_mem_debug_pop() \ + CRYPTO_mem_debug_pop() +int CRYPTO_mem_debug_push(const char *info, const char *file, int line); +int CRYPTO_mem_debug_pop(void); /* * Default debugging functions (enabled by CRYPTO_malloc_debug_init() macro;