if (!do_not_lock) {  crypto_lock_rand = 0; locking_thread = 0;  CRYPTO_w_unlock(CRYPTO_LOCK_RAND); }
static int ssleay_rand_status(void)	{	int ret;	if (!initialized)		RAND_poll();	CRYPTO_w_lock(CRYPTO_LOCK_RAND);	initialized = 1;	ret = entropy >= ENTROPY_NEEDED;	CRYPTO_w_unlock(CRYPTO_LOCK_RAND);	return ret;	}