Fix another build break for no-mem-debug
authorRich Salz <rsalz@openssl.org>
Thu, 7 Jan 2016 21:16:22 +0000 (16:16 -0500)
committerRich Salz <rsalz@openssl.org>
Thu, 7 Jan 2016 21:16:34 +0000 (16:16 -0500)
Reviewed-by: Richard Levitte <levitte@openssl.org>
test/danetest.c

index 2c7c3c6..f46adad 100644 (file)
@@ -527,7 +527,9 @@ end:
     ERR_free_strings();
     ERR_remove_thread_state(NULL);
     EVP_cleanup();
+#ifdef CRYPTO_MDEBUG
     CRYPTO_mem_leaks(bio_err);
+#endif
     BIO_free(bio_err);
     EXIT(ret);
 }