summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.c
diff options
context:
space:
mode:
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);
}