Enable/disable crypto-mdebug just like other features
[openssl.git] / test / ectest.c
index 96677723150bfcd158b09ddae77dfb95b51730af..fbf5081f897c9665f9996114a6a6a778e9c13db8 100644 (file)
@@ -1664,7 +1664,7 @@ int main(int argc, char *argv[])
     CRYPTO_cleanup_all_ex_data();
     ERR_free_strings();
     ERR_remove_thread_state(NULL);
-#ifdef CRYPTO_MDEBUG
+#ifndef OPENSSL_NO_CRYPTO_MDEBUG
     CRYPTO_mem_leaks_fp(stderr);
 #endif