Author: lha Date: 2007-06-18 05:27:03 +0000 (Mon, 18 Jun 2007) New Revision: 744
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=744 Log: Merged with Heimdal svn revision 21104 Modified: trunk/heimdal/lib/hcrypto/rand-fortuna.c Changeset: Modified: trunk/heimdal/lib/hcrypto/rand-fortuna.c =================================================================== --- trunk/heimdal/lib/hcrypto/rand-fortuna.c 2007-06-18 04:04:26 UTC (rev 743) +++ trunk/heimdal/lib/hcrypto/rand-fortuna.c 2007-06-18 05:27:03 UTC (rev 744) @@ -33,7 +33,7 @@ #include <config.h> #endif -RCSID("$Id: rand-fortuna.c 21100 2007-06-18 03:51:21Z lha $"); +RCSID("$Id: rand-fortuna.c 21104 2007-06-18 05:19:45Z lha $"); #include <stdio.h> #include <stdlib.h> @@ -487,8 +487,8 @@ /* 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 */