mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
enable leak checking for danetest
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
c26e536986
commit
e51511ce49
@ -474,6 +474,7 @@ int main(int argc, char *argv[])
|
|||||||
p = getenv("OPENSSL_DEBUG_MEMORY");
|
p = getenv("OPENSSL_DEBUG_MEMORY");
|
||||||
if (p != NULL && strcmp(p, "on") == 0)
|
if (p != NULL && strcmp(p, "on") == 0)
|
||||||
CRYPTO_set_mem_debug(1);
|
CRYPTO_set_mem_debug(1);
|
||||||
|
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
|
||||||
|
|
||||||
f = fopen(tlsafile, "r");
|
f = fopen(tlsafile, "r");
|
||||||
if (f == NULL) {
|
if (f == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user