About CRYPTO_mem_ctrl()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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™ Real-Time Operating System
6th Floor, Ali Tower, M. M. Alam Road, Gulberg III,

Lahore, Pakistan. 54660.
Tel.: +92 (42) 36099239
Mobile:
+92 (321) 4202636

Email : asad.amjad@xxxxxxxxxxx

www.sw.siemens.com
www.siemens.com

P Please do not print this e-mail unless necessary.

 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux