summaryrefslogtreecommitdiffstats
path: root/test/danetest.c
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-01-10 20:42:10 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-01-11 03:41:16 +0100
commitc2e27310c790c0dd2f87dd420e65e0cca522ddb2 (patch)
treebda08e77fcbd3f993498ef5a4c7d9b551b0b47ed /test/danetest.c
parentDisable some algorithms by default (diff)
downloadopenssl-c2e27310c790c0dd2f87dd420e65e0cca522ddb2.tar.xz
openssl-c2e27310c790c0dd2f87dd420e65e0cca522ddb2.zip
Enable/disable crypto-mdebug just like other features
Also always abort() on leak failure. Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'test/danetest.c')
-rw-r--r--test/danetest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/danetest.c b/test/danetest.c
index 02d0f79efc..09156a6991 100644
--- a/test/danetest.c
+++ b/test/danetest.c
@@ -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);