Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked
CRYPTO_LOCK_RAND...
This commit is contained in:
parent
d38f3ad1ee
commit
3537525e00
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user