Skip to content
Snippets Groups Projects
Commit 466e57e3 authored by Philipp Schafft's avatar Philipp Schafft :lion_face:
Browse files

Feature: Just swallow parts of the config as extra PRNG seed

parent f8868cb0
No related branches found
No related tags found
No related merge requests found
......@@ -173,6 +173,10 @@ void prng_configure(ice_config_t *config)
if (!initialized)
return;
prng_write(config->location, strlen(config->location));
prng_write(config->admin, strlen(config->admin));
prng_write(config->hostname, strlen(config->hostname));
prng_write(config, sizeof(*config));
prng_read_seeds(config->prng_seed, 1);
prng_cross_seed();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment