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
/
srptest.c
diff --git
a/test/srptest.c
b/test/srptest.c
index f6555a60e128861ea5ed2509bd5e3c1537557398..442a6101d42a79198dd05001f9c3590bc6f0fd2e 100644
(file)
--- a/
test/srptest.c
+++ b/
test/srptest.c
@@
-147,7
+147,8
@@
int main(int argc, char **argv)
ERR_remove_thread_state(NULL);
ERR_free_strings();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
- CRYPTO_mem_leaks(bio_err);
+ if (CRYPTO_mem_leaks(bio_err) <= 0)
+ return 1;
#endif
BIO_free(bio_err);