X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=test%2Fsrptest.c;h=60cdbc31fd5221af0d87ae76b4b8a996ae9faacf;hb=7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0;hp=1d463cd782fe0bca8c79dbffe616e4eb3164b194;hpb=dee502be89e78e2979e3bd1d7724cf79daa6ef61;p=oweals%2Fopenssl.git diff --git a/test/srptest.c b/test/srptest.c index 1d463cd782..60cdbc31fd 100644 --- 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; - 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); @@ -148,6 +148,7 @@ int main(int argc, char **argv) ERR_remove_thread_state(NULL); ERR_free_strings(); CRYPTO_mem_leaks(bio_err); + BIO_free(bio_err); return 0; }