projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1f5b3
)
fix: make it possible to disable memory debugging even if it is
author
Bodo Möller
<bodo@openssl.org>
Thu, 14 Feb 2002 14:47:15 +0000
(14:47 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 14 Feb 2002 14:47:15 +0000
(14:47 +0000)
enabled by default
crypto/ec/ectest.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ectest.c
b/crypto/ec/ectest.c
index b6ede1c3c6ab004a3e25bff4c480e62b48a0537e..243cd83fb54aa7d0cb5ebc06b0a8a74dd7e080ed 100644
(file)
--- a/
crypto/ec/ectest.c
+++ b/
crypto/ec/ectest.c
@@
-156,7
+156,12
@@
int main(int argc, char *argv[])
if (!((getenv("OPENSSL_DEBUG_MEMORY") != NULL) && (0 == strcmp(getenv("OPENSSL_DEBUG_MEMORY"), "off"))))
{
CRYPTO_malloc_debug_init();
- CRYPTO_dbg_set_options(V_CRYPTO_MDEBUG_ALL);
+ CRYPTO_set_mem_debug_options(V_CRYPTO_MDEBUG_ALL);
+ }
+ else
+ {
+ /* OPENSSL_DEBUG_MEMORY=off */
+ CRYPTO_set_mem_debug_functions(0, 0, 0, 0, 0);
}
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
ERR_load_crypto_strings();