Hi, Consider the following piece of code: BIO *bio_err = NULL; CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); CRYPTO_mem_leaks(bio_err); CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_OFF);
When run, it prints the following: threads_none.c:43: OpenSSL internal error: Assertion failed: *(unsigned int *)lock == 1 Am I using the CRYPTO_mem_ctrl() correctly? If not, then please guide me what's the correct usage. Regards, Asad Ali Amjad Siemens Industry Software (Private) Limited Embedded Platform Solutions Nucleus(tm) Real-Time Operating System 6th Floor, Ali Tower, M. M. Alam Road, Gulberg III, Lahore, Pakistan. 54660. Tel.: +92 (42) 36099239<tel:+924236099239> Mobile: +92 (321) 4202636<tel:+923214202636> Email : asad.am...@siemens.com<mailto:asad.am...@siemens.com> www.sw.siemens.com<http://www.sw.siemens.com/> www.siemens.com<http://www.siemens.com/> [cid:image001.gif@01D88B6B.15A29E10] P Please do not print this e-mail unless necessary.