diff --git a/ChangeLog b/ChangeLog index b12f4bde6..d2440babc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ - (djm) Pick up LOGIN_PROGRAM from environment or PATH if not set by headers - (djm) Add local version to version.h + - (djm) Don't reseed arc4random everytime it is used - (djm) OpenBSD CVS updates: - deraadt@cvs.openbsd.org 2000/08/18 20:07:23 [ssh.c] diff --git a/bsd-arc4random.c b/bsd-arc4random.c index d01a515b4..4c2f0854f 100644 --- a/bsd-arc4random.c +++ b/bsd-arc4random.c @@ -60,5 +60,7 @@ void arc4random_stir(void) RC4_set_key(&rc4, sizeof(rand_buf), rand_buf); memset(rand_buf, 0, sizeof(rand_buf)); + + rc4_ready = 1; } #endif /* !HAVE_ARC4RANDOM */