Test snapshot

Damien Miller djm at mindrot.org
Thu Aug 24 09:08:32 EST 2000


On Wed, 23 Aug 2000, Jan-Frode Myklebust wrote:

> It looks like the openssh-SNAP-20000823 is taking a lot more time
> collecting entropy (or is it failing several times?) than the 
> OpenSSH_2.1.1p4 version did. 

My bad:

Index: bsd-arc4random.c
===================================================================
RCS file: /var/cvs/openssh/bsd-arc4random.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bsd-arc4random.c	2000/08/16 00:35:58	1.1
+++ bsd-arc4random.c	2000/08/23 05:31:41	1.2
@@ -60,5 +60,7 @@
 	RC4_set_key(&rc4, sizeof(rand_buf), rand_buf);
 
 	memset(rand_buf, 0, sizeof(rand_buf));
+	
+	rc4_ready = 1;
 }
 #endif /* !HAVE_ARC4RANDOM */


-- 
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)








More information about the openssh-unix-dev mailing list