Enable/disable crypto-mdebug just like other features
[openssl.git] / test / clienthellotest.c
index 289ca1e57275db171fa0453802f623f461be378c..9cb563c548541a94e5637d3a8b71491335ce0ec9 100644 (file)
@@ -211,7 +211,7 @@ int main(int argc, char *argv[])
     ERR_remove_thread_state(NULL);
     EVP_cleanup();
     CRYPTO_cleanup_all_ex_data();
-#ifdef CRYPTO_MDEBUG
+#ifndef OPENSSL_NO_CRYPTO_MDEBUG
     CRYPTO_mem_leaks(err);
 #endif
     BIO_free(err);