From 9c729e0a6d52528790fa132a5367da4c6e9b885d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Fri, 25 Jun 1999 14:04:10 +0000 Subject: [PATCH] Memory leak checks. --- CHANGES | 5 +++++ ssl/ssltest.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 7975ac0a15..70dcca1ac3 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,11 @@ Changes between 0.9.3a and 0.9.4 + *) Fix memory leaks in DSA_do_sign and DSA_is_prime. + Also really enable memory leak checks in openssl.c and in some + test programs. + [Chad C. Mulligan, Bodo Moeller] + *) Fix a bug in d2i_ASN1_INTEGER() and i2d_ASN1_INTEGER() which can mess up the length of negative integers. This has now been simplified to just store the length when it is first determined and use it later, rather diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 2648304911..ad37d19796 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -163,7 +163,7 @@ int main(int argc, char *argv[]) bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); bio_stdout=BIO_new_fp(stdout,BIO_NOCLOSE); - CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); + CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE); argc--; argv++; -- GitLab