From 658c7980569255d2bed7acd4b8cfe3172e2dc640 Mon Sep 17 00:00:00 2001 From: tedu Date: Wed, 16 Apr 2014 18:28:08 +0000 Subject: [PATCH] delete a few leftovers --- lib/libcrypto/mem_dbg.c | 6 +----- lib/libssl/src/crypto/mem_dbg.c | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/libcrypto/mem_dbg.c b/lib/libcrypto/mem_dbg.c index 693b47bcedf..fad6a58496d 100644 --- a/lib/libcrypto/mem_dbg.c +++ b/lib/libcrypto/mem_dbg.c @@ -118,12 +118,10 @@ #include #include -static int mh_mode = CRYPTO_MEM_CHECK_OFF; - int CRYPTO_mem_ctrl(int mode) { - return (mh_mode); + return (CRYPTO_MEM_CHECK_OFF); } int @@ -163,8 +161,6 @@ CRYPTO_remove_all_info(void) return(0); } - -static unsigned long break_order_num = 0; void CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, int before_p) diff --git a/lib/libssl/src/crypto/mem_dbg.c b/lib/libssl/src/crypto/mem_dbg.c index 693b47bcedf..fad6a58496d 100644 --- a/lib/libssl/src/crypto/mem_dbg.c +++ b/lib/libssl/src/crypto/mem_dbg.c @@ -118,12 +118,10 @@ #include #include -static int mh_mode = CRYPTO_MEM_CHECK_OFF; - int CRYPTO_mem_ctrl(int mode) { - return (mh_mode); + return (CRYPTO_MEM_CHECK_OFF); } int @@ -163,8 +161,6 @@ CRYPTO_remove_all_info(void) return(0); } - -static unsigned long break_order_num = 0; void CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, int before_p) -- 2.20.1