enable leak checking for danetest
authorDr. Stephen Henson <steve@openssl.org>
Fri, 5 Feb 2016 14:50:06 +0000 (14:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 5 Feb 2016 16:02:21 +0000 (16:02 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/danetest.c

index 5c4a785c00bff6f9313702abbb90ac47b21674cd..92a3b1ba330aa4e40784411a60fb9c60351974f5 100644 (file)
@@ -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) {