summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-10-14 18:54:46 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-10-14 18:54:46 +0000
commitc43a95b4f94289bb3bc3733bdefe7d7f21729673 (patch)
tree924b5b23aa48091dfb6a5e8126992068e455ed51 /usr.bin/ssh/sshd.c
parent5dda7f90579b98c0253e7f32955288967f5f3ef2 (diff)
"the french issue", stir RC4 after key usage, ok niels
from planchon@math.polytechnique.fr
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r--usr.bin/ssh/sshd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 604fd9c0098..9ae8070e03f 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -18,7 +18,7 @@ agent connections.
*/
#include "includes.h"
-RCSID("$Id: sshd.c,v 1.31 1999/10/14 18:17:42 markus Exp $");
+RCSID("$Id: sshd.c,v 1.32 1999/10/14 18:54:45 markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -597,6 +597,8 @@ main(int ac, char **av)
/* Mark that the key has been used (it was "given" to the child). */
key_used = 1;
+ arc4random_stir();
+
/* Close the new socket (the child is now taking care of it). */
close(newsock);
}