From 9f3a7817d3b05213bb71b99f9630b94a1f8f6967 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Tue, 7 Dec 2021 22:05:47 -0800 Subject: [PATCH] Improve seed() Do not rehash the hash. --- seed.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/seed.c b/seed.c index 454604c..4809683 100644 --- a/seed.c +++ b/seed.c @@ -677,9 +677,6 @@ pseudo_seed(void) /* * hash all the data from random() and friends */ - hash_val = private_hash64_buf(hash_val, - (char *)&past_hash, - sizeof(past_hash)); hash_val = private_hash64_buf(hash_val, (char *)random_before, sizeof(random_before));