Test snapshot

Jan-Frode Myklebust janfrode at parallab.uib.no
Thu Aug 24 17:20:12 EST 2000


On Thu, Aug 24, 2000 at 09:08:32AM +1000, Damien Miller wrote:
> 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 */
> 
> 

Thanks, looks like this fixed the problem with the sshd acting like a
dot-matrix printer in v2 mode also. 


  -jf





More information about the openssh-unix-dev mailing list