projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If memory debugging enabled return error on leaks.
[openssl.git]
/
test
/
danetest.c
diff --git
a/test/danetest.c
b/test/danetest.c
index 636f629617d872a02401ed1ec33e2dbe7fd8d2a1..5c4a785c00bff6f9313702abbb90ac47b21674cd 100644
(file)
--- a/
test/danetest.c
+++ b/
test/danetest.c
@@
-526,7
+526,8
@@
end:
ERR_remove_thread_state(NULL);
EVP_cleanup();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
- CRYPTO_mem_leaks(bio_err);
+ if (CRYPTO_mem_leaks(bio_err) <= 0)
+ ret = 1;
#endif
BIO_free(bio_err);
EXIT(ret);