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
/
ectest.c
diff --git
a/test/ectest.c
b/test/ectest.c
index 674e593f4430cf6b8ac2be03ba4080839143bc27..03dfed96c90f302e9c4afe7bc315def6a6f89b74 100644
(file)
--- a/
test/ectest.c
+++ b/
test/ectest.c
@@
-1687,7
+1687,8
@@
int main(int argc, char *argv[])
ERR_free_strings();
ERR_remove_thread_state(NULL);
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
- CRYPTO_mem_leaks_fp(stderr);
+ if (CRYPTO_mem_leaks_fp(stderr) <= 0)
+ return 1;
#endif
return 0;