[core] fix macOS build when missing CRYPTO_mem_ctrl

https://github.com/signalwire/freeswitch/issues/1461
3493e9c952
This commit is contained in:
Seven Du 2021-12-28 08:15:23 +08:00
parent a92eee4e93
commit e743e8ab3c
1 changed files with 2 additions and 0 deletions

View File

@ -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);