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
/
clienthellotest.c
diff --git
a/test/clienthellotest.c
b/test/clienthellotest.c
index 66fc27f48b144bfb81425b537a6f41c652cd12b8..d9ae758987be2521737051207d3fed7e90f92d3f 100644
(file)
--- 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);