Merge pull request #1498 from seven1240/fix-crypto-mem-ctrl

[core] fix macOS build when missing CRYPTO_mem_ctrl
This commit is contained in:
Andrey Volk 2021-12-28 12:33:06 +03:00 committed by GitHub
commit bacb3f9386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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); CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
#endif
//bio_err=BIO_new_fp(stderr, BIO_NOCLOSE); //bio_err=BIO_new_fp(stderr, BIO_NOCLOSE);