fake_rand.pseudorand = fbytes;
fake_rand.pseudorand = old_rand->bytes;
int change_rand(void)	{	/* save old rand method */	if ((old_rand = RAND_get_rand_method()) == NULL)		return 0;	fake_rand.seed    = old_rand->seed;	fake_rand.cleanup = old_rand->cleanup;	fake_rand.add     = old_rand->add;	fake_rand.status  = old_rand->status;	/* use own random function */	fake_rand.bytes      = fbytes;	fake_rand.pseudorand = fbytes;	/* set new RAND_METHOD */	if (!RAND_set_rand_method(&fake_rand))		return 0;	return 1;	}