summaryrefslogtreecommitdiffstats
path: root/test/srptest.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/srptest.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/srptest.c')
-rw-r--r--test/srptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/srptest.c b/test/srptest.c
index 03e8cf438a..f6555a60e1 100644
--- a/test/srptest.c
+++ b/test/srptest.c
@@ -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);