summaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-02-07 21:49:21 +0000
committerRichard Levitte <levitte@openssl.org>2002-02-07 21:49:21 +0000
commit3537525e00a185356bb6c38256cce32db3f782ae (patch)
treea271ee0ea4f0aa221b976322cc448c1fe0fcedf7 /crypto/engine
parentd38f3ad1ee64fdc6201c1c3657324413723bf843 (diff)
Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked
CRYPTO_LOCK_RAND...
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/hw_aep.c2
1 files changed, 1 insertions, 1 deletions
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;
}