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
/
ecdhtest.c
diff --git
a/test/ecdhtest.c
b/test/ecdhtest.c
index 636be3ee9d371e4637477b5967a42a0ca5d637f3..16d8cedac1d6f0701be7a95a45eb89e00e4333fa 100644
(file)
--- a/
test/ecdhtest.c
+++ b/
test/ecdhtest.c
@@
-516,7
+516,8
@@
int main(int argc, char *argv[])
CRYPTO_cleanup_all_ex_data();
ERR_remove_thread_state(NULL);
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
- CRYPTO_mem_leaks_fp(stderr);
+ if (CRYPTO_mem_leaks_fp(stderr) <= 0)
+ ret = 1;
#endif
EXIT(ret);
}