diff options
author | Bodo Möller <bodo@openssl.org> | 1999-07-19 11:25:35 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-07-19 11:25:35 +0200 |
commit | 458cddc1042eb91c5bb1e2bffd8fcfe5ee960d4d (patch) | |
tree | 9c379735139ac1b641f355f0bf60b5d7fdb23c2a /crypto/crypto.h | |
parent | Add optional (compile-time configurable) time to CRYPTO_mem_leaks output. (diff) | |
download | openssl-458cddc1042eb91c5bb1e2bffd8fcfe5ee960d4d.tar.xz openssl-458cddc1042eb91c5bb1e2bffd8fcfe5ee960d4d.zip |
Have CRYPTO_MDEBUG_TIME automatically set CRYPTO_MDEBUG,
and make it the default for some debugging configurations.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r-- | crypto/crypto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h index 1b927e189d..fe8292fcbe 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -200,6 +200,12 @@ typedef struct crypto_ex_data_func_st (char *(*)())realloc,\ (void (*)())free) +#ifdef CRYPTO_MDEBUG_TIME +# ifndef CRYPTO_MDEBUG /* avoid duplicate #define */ +# define CRYPTO_MDEBUG +# endif +#endif + #ifdef CRYPTO_MDEBUG #define MemCheck_start() CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON) #define MemCheck_stop() CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_OFF) |