detect rng seed strength at runtime based on algorithm not compile time based on platform features
This commit is contained in:
@@ -899,8 +899,10 @@ init_random()
|
||||
void
|
||||
reseed_random()
|
||||
{
|
||||
/* reseed */
|
||||
init_random();
|
||||
/* only reseed if we are certain that the seed generation is unguessable
|
||||
* by the players. */
|
||||
if (has_strong_rngseed)
|
||||
init_random();
|
||||
}
|
||||
|
||||
time_t
|
||||
|
||||
Reference in New Issue
Block a user