Forcibly enable memory leak checking during "make test"
diff --git a/apps/openssl.c b/apps/openssl.c
index c7ee753..f65096a 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -228,7 +228,13 @@
 	arg.count=0;
 
 	if (getenv("OPENSSL_DEBUG_MEMORY") != NULL)
-		CRYPTO_malloc_debug_init();
+		{
+		if (!(0 == strcmp(getenv("OPENSSL_DEBUG_MEMORY"), "off")))
+			{
+			CRYPTO_malloc_debug_init();
+			CRYPTO_dbg_set_options(V_CRYPTO_MDEBUG_ALL);
+			}
+		}
 	CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
 
 #if 0