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, Nucleus™ Real-Time Operating System Lahore, Pakistan. 54660. Email :
asad.amjad@xxxxxxxxxxx www.sw.siemens.com P
Please do not print this e-mail unless necessary. |