diff --git a/src/switch_core_cert.c b/src/switch_core_cert.c index 565f548e51..c4fdd84210 100644 --- a/src/switch_core_cert.c +++ b/src/switch_core_cert.c @@ -281,7 +281,9 @@ SWITCH_DECLARE(int) switch_core_gen_certs(const char *prefix) } } +#ifdef CRYPTO_MEM_CHECK_ON CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); +#endif //bio_err=BIO_new_fp(stderr, BIO_NOCLOSE);