CRYPTO_w_lock(CRYPTO_LOCK_RAND); initialized = 1;
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;	}