Enable/disable crypto-mdebug just like other features
[openssl.git] / test / srptest.c
index 03e8cf438ad35d2c1a79a5f83ca75754f4d5d9a2..f6555a60e128861ea5ed2509bd5e3c1537557398 100644 (file)
@@ -146,7 +146,7 @@ int main(int argc, char **argv)
     CRYPTO_cleanup_all_ex_data();
     ERR_remove_thread_state(NULL);
     ERR_free_strings();
-#ifdef CRYPTO_MDEBUG
+#ifndef OPENSSL_NO_CRYPTO_MDEBUG
     CRYPTO_mem_leaks(bio_err);
 #endif
     BIO_free(bio_err);