From: Alan T. DeKok Date: Mon, 22 Jan 2024 14:25:49 +0000 (-0500) Subject: just trust /dev/random X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2af4f5912cdc4ca06ee5c1e03cc57ea91321646;p=thirdparty%2Ffreeradius-server.git just trust /dev/random there's little utility in mixing in other data --- diff --git a/src/lib/util/dict_tokenize.c b/src/lib/util/dict_tokenize.c index bc789175e5d..965d74bd876 100644 --- a/src/lib/util/dict_tokenize.c +++ b/src/lib/util/dict_tokenize.c @@ -2174,11 +2174,6 @@ static int _dict_from_file(dict_tokenize_ctx_t *ctx, } #endif - /* - * Seed the random pool with data. - */ - fr_rand_mixin(&statbuf, sizeof(statbuf)); - memset(&base_flags, 0, sizeof(base_flags)); while (fgets(buf, sizeof(buf), fp) != NULL) {