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
/
ecdsatest.c
diff --git
a/test/ecdsatest.c
b/test/ecdsatest.c
index d098355be693ff2044b4e8b682ebb55d0ee497e6..feb9f0a6eb1554f23c29deea6463eb9df87be750 100644
(file)
--- a/
test/ecdsatest.c
+++ b/
test/ecdsatest.c
@@
-545,7
+545,8
@@
int main(void)
ERR_remove_thread_state(NULL);
ERR_free_strings();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
- CRYPTO_mem_leaks(out);
+ if (CRYPTO_mem_leaks(out) <= 0)
+ ret = 1;
#endif
BIO_free(out);
return ret;