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
/
evp_extra_test.c
diff --git
a/test/evp_extra_test.c
b/test/evp_extra_test.c
index 13dd26270572a4369384aaa989c1a59af1f9b512..53844ad17d174c6df662b08ef3f0292bebb69144 100644
(file)
--- a/
test/evp_extra_test.c
+++ b/
test/evp_extra_test.c
@@
-467,7
+467,8
@@
int main(void)
ERR_remove_thread_state(NULL);
ERR_free_strings();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
- CRYPTO_mem_leaks_fp(stderr);
+ if (CRYPTO_mem_leaks_fp(stderr) <= 0)
+ return 1;
#endif
printf("PASS\n");