Enable/disable crypto-mdebug just like other features
[openssl.git] / test / danetest.c
index 02d0f79efc82b64fd3076e0174199e188026a899..09156a6991b4853ce9835a175ca9d8db83391051 100644 (file)
@@ -526,7 +526,7 @@ end:
     ERR_free_strings();
     ERR_remove_thread_state(NULL);
     EVP_cleanup();
-#ifdef CRYPTO_MDEBUG
+#ifndef OPENSSL_NO_CRYPTO_MDEBUG
     CRYPTO_mem_leaks(bio_err);
 #endif
     BIO_free(bio_err);