[openssl.org #2891] deadlock in X509_PUBKEY_get without recursive mutexes

2012-10-03 Thread Ben Hendrickson via RT
I am using openssl-1.0.1c, and found a deadlock when using the library. In function X509_PUBKEY_get (xpubkey.c:175) it locks CRYPTO_LOCK_EVP_PKEY. Three lines later (so xpubkey.c:178), it calls EVP_PKEY_free which also locks CRYPTO_LOCK_EVP_PKEY (p_lib.c: 393). This behavior is fine if the user

Re: [openssl.org #2891] deadlock in X509_PUBKEY_get without recursive mutexes

2012-10-03 Thread Quanah Gibson-Mount
--On Wednesday, October 03, 2012 10:41 AM +0200 Ben Hendrickson via RT r...@openssl.org wrote: I am using openssl-1.0.1c, and found a deadlock when using the library. In function X509_PUBKEY_get (xpubkey.c:175) it locks CRYPTO_LOCK_EVP_PKEY. Three lines later (so xpubkey.c:178), it calls