From 5e25789281281230bc048757947ada7d4deeab7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 18 Jun 2007 05:19:45 +0000 Subject: [PATCH] Use /etc/shadow, not /dev/shadow, pointed out by Andrew Bartlett git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21104 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hcrypto/rand-fortuna.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hcrypto/rand-fortuna.c b/lib/hcrypto/rand-fortuna.c index 318235bb8..645ceeba4 100644 --- a/lib/hcrypto/rand-fortuna.c +++ b/lib/hcrypto/rand-fortuna.c @@ -487,8 +487,8 @@ fortuna_reseed(void) /* add timer info */ if ((*hc_rand_timer_method.bytes)(u.buf, sizeof(u.buf)) == 1) add_entropy(&main_state, u.buf, sizeof(u.buf)); - /* add /dev/shadow */ - fd = open("/dev/shadow", O_RDONLY, 0); + /* add /etc/shadow */ + fd = open("/etc/shadow", O_RDONLY, 0); if (fd >= 0) { ssize_t n; /* add_entropy will hash the buf */