projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix ASYNC null implementation
[oweals/openssl.git]
/
test
/
srptest.c
diff --git
a/test/srptest.c
b/test/srptest.c
index 1d463cd782fe0bca8c79dbffe616e4eb3164b194..60cdbc31fd5221af0d87ae76b4b8a996ae9faacf 100644
(file)
--- a/
test/srptest.c
+++ b/
test/srptest.c
@@
-124,7
+124,7
@@
static int run_srp(const char *username, const char *client_pass,
int main(int argc, char **argv)
{
BIO *bio_err;
int main(int argc, char **argv)
{
BIO *bio_err;
- bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
+ bio_err = BIO_new_fp(stderr, BIO_NOCLOSE
| BIO_FP_TEXT
);
CRYPTO_malloc_debug_init();
CRYPTO_dbg_set_options(V_CRYPTO_MDEBUG_ALL);
CRYPTO_malloc_debug_init();
CRYPTO_dbg_set_options(V_CRYPTO_MDEBUG_ALL);
@@
-148,6
+148,7
@@
int main(int argc, char **argv)
ERR_remove_thread_state(NULL);
ERR_free_strings();
CRYPTO_mem_leaks(bio_err);
ERR_remove_thread_state(NULL);
ERR_free_strings();
CRYPTO_mem_leaks(bio_err);
+ BIO_free(bio_err);
return 0;
}
return 0;
}