aboutsummaryrefslogtreecommitdiff
path: root/test/clienthellotest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/clienthellotest.c')
-rw-r--r--test/clienthellotest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c
index 66fc27f..d9ae758 100644
--- a/test/clienthellotest.c
+++ b/test/clienthellotest.c
@@ -217,7 +217,8 @@ int main(int argc, char *argv[])
EVP_cleanup();
CRYPTO_cleanup_all_ex_data();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
- CRYPTO_mem_leaks(err);
+ if (CRYPTO_mem_leaks(err) <= 0)
+ testresult = 0;
#endif
BIO_free(err);