summaryrefslogtreecommitdiffstats
path: root/test/danetest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-02-05 15:50:06 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-02-05 17:02:21 +0100
commite51511ce497884ebf680714271ec96416e600622 (patch)
tree059e69165730d92da9c839ac7b2d846d211b2387 /test/danetest.c
parentFix return code in CRYPTO_mem_leaks_fp() (diff)
downloadopenssl-e51511ce497884ebf680714271ec96416e600622.tar.xz
openssl-e51511ce497884ebf680714271ec96416e600622.zip
enable leak checking for danetest
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/danetest.c')
-rw-r--r--test/danetest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/danetest.c b/test/danetest.c
index 5c4a785c00..92a3b1ba33 100644
--- a/test/danetest.c
+++ b/test/danetest.c
@@ -474,6 +474,7 @@ int main(int argc, char *argv[])
p = getenv("OPENSSL_DEBUG_MEMORY");
if (p != NULL && strcmp(p, "on") == 0)
CRYPTO_set_mem_debug(1);
+ CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
f = fopen(tlsafile, "r");
if (f == NULL) {