Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked

CRYPTO_LOCK_RAND...
This commit is contained in:
Richard Levitte 2002-02-07 21:49:21 +00:00
parent d38f3ad1ee
commit 3537525e00

View file

@ -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;
}