From 3537525e00a185356bb6c38256cce32db3f782ae Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 7 Feb 2002 21:49:21 +0000 Subject: [PATCH] Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked CRYPTO_LOCK_RAND... --- crypto/engine/hw_aep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1