diff options
author | Richard Levitte <levitte@openssl.org> | 2002-02-07 21:49:21 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-02-07 21:49:21 +0000 |
commit | 3537525e00a185356bb6c38256cce32db3f782ae (patch) | |
tree | a271ee0ea4f0aa221b976322cc448c1fe0fcedf7 /crypto/engine | |
parent | d38f3ad1ee64fdc6201c1c3657324413723bf843 (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.c | 2 |
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; } |