From: tedu Date: Wed, 16 Apr 2014 18:28:08 +0000 (+0000) Subject: delete a few leftovers X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=658c7980569255d2bed7acd4b8cfe3172e2dc640;p=openbsd delete a few leftovers --- 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)