This replaces the previous patch.

No change in meaning, just rebase the patch in light of
changes to prior patches.
>From 4f8cc6788f804fcd1b99dbda22aadafdc497b43e Mon Sep 17 00:00:00 2001
From: root <r...@av8n.com>
Date: Thu, 16 Sep 2010 14:49:15 -0700
Subject: [PATCH] Do not rm -f $SAVEDFILE
 because that is a Bad Idea when $SAVEDFILE is a symlink.
 Simply overwriting the file is easier and better.

---
 urandom |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/urandom b/urandom
index 26047a4..9614f2a 100755
--- a/urandom
+++ b/urandom
@@ -57,7 +57,6 @@ case "$1" in
 	# an explicit reseed of the yarrow.
 	) >/dev/urandom
 
-	rm -f $SAVEDFILE
 	# Write a new seed into $SAVEDFILE because re-using a seed
 	# compromises security.	 Each time we re-seed, we want the
 	# seed to be as different as possible.
-- 
1.5.6.5

Reply via email to