]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
just trust /dev/random
authorAlan T. DeKok <aland@freeradius.org>
Mon, 22 Jan 2024 14:25:49 +0000 (09:25 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 22 Jan 2024 18:52:05 +0000 (13:52 -0500)
there's little utility in mixing in other data

src/lib/util/dict_tokenize.c

index bc789175e5dd199b0e3769c9db62f54d4a9020be..965d74bd87646cfa9e1bd916da9655191b4d2080 100644 (file)
@@ -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) {