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
/
ssltest.c
diff --git
a/test/ssltest.c
b/test/ssltest.c
index 9cd2a53e5055c2f7be43be6c212cb0b86114c585..f217a2073ea7d9fd9c3b6ebfc29c2f28e77d2af4 100644
(file)
--- a/
test/ssltest.c
+++ b/
test/ssltest.c
@@
-1865,7
+1865,8
@@
int main(int argc, char *argv[])
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);