mirror of git://anongit.mindrot.org/openssh.git
- (djm) Don't reseed arc4random everytime it is used
This commit is contained in:
parent
37e7f186a5
commit
f3df052486
|
@ -5,6 +5,7 @@
|
|||
<kajiyama@grad.sccs.chukyo-u.ac.jp>
|
||||
- (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]
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue