From: Richard Levitte Date: Thu, 7 Feb 2002 21:49:21 +0000 (+0000) Subject: Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked X-Git-Tag: OpenSSL-engine-0_9_6c^2^2~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3537525e00a185356bb6c38256cce32db3f782ae;p=oweals%2Fopenssl.git Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked CRYPTO_LOCK_RAND... --- diff --git a/crypto/engine/hw_aep.c b/crypto/engine/hw_aep.c index 78caef4d07..c661dfa14d 100644 --- a/crypto/engine/hw_aep.c +++ b/crypto/engine/hw_aep.c @@ -700,7 +700,7 @@ static int aep_rand(unsigned char *buf,int len ) return 1; err: - CRYPTO_w_unlock(CRYPTO_LOCK_DYNLOCK); + CRYPTO_w_unlock(CRYPTO_LOCK_RAND); err_nounlock: return 0; }