summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/mem_dbg.c6
-rw-r--r--src/lib/libssl/src/crypto/mem_dbg.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/libcrypto/mem_dbg.c b/src/lib/libcrypto/mem_dbg.c
index 693b47bced..fad6a58496 100644
--- a/src/lib/libcrypto/mem_dbg.c
+++ b/src/lib/libcrypto/mem_dbg.c
@@ -118,12 +118,10 @@
118#include <openssl/bio.h> 118#include <openssl/bio.h>
119#include <openssl/lhash.h> 119#include <openssl/lhash.h>
120 120
121static int mh_mode = CRYPTO_MEM_CHECK_OFF;
122
123int 121int
124CRYPTO_mem_ctrl(int mode) 122CRYPTO_mem_ctrl(int mode)
125{ 123{
126 return (mh_mode); 124 return (CRYPTO_MEM_CHECK_OFF);
127} 125}
128 126
129int 127int
@@ -163,8 +161,6 @@ CRYPTO_remove_all_info(void)
163 return(0); 161 return(0);
164} 162}
165 163
166
167static unsigned long break_order_num = 0;
168void 164void
169CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, 165CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line,
170 int before_p) 166 int before_p)
diff --git a/src/lib/libssl/src/crypto/mem_dbg.c b/src/lib/libssl/src/crypto/mem_dbg.c
index 693b47bced..fad6a58496 100644
--- a/src/lib/libssl/src/crypto/mem_dbg.c
+++ b/src/lib/libssl/src/crypto/mem_dbg.c
@@ -118,12 +118,10 @@
118#include <openssl/bio.h> 118#include <openssl/bio.h>
119#include <openssl/lhash.h> 119#include <openssl/lhash.h>
120 120
121static int mh_mode = CRYPTO_MEM_CHECK_OFF;
122
123int 121int
124CRYPTO_mem_ctrl(int mode) 122CRYPTO_mem_ctrl(int mode)
125{ 123{
126 return (mh_mode); 124 return (CRYPTO_MEM_CHECK_OFF);
127} 125}
128 126
129int 127int
@@ -163,8 +161,6 @@ CRYPTO_remove_all_info(void)
163 return(0); 161 return(0);
164} 162}
165 163
166
167static unsigned long break_order_num = 0;
168void 164void
169CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, 165CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line,
170 int before_p) 166 int before_p)