summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-09 22:42:32 +1000
committerDamien Miller <djm@mindrot.org>2000-07-09 22:42:32 +1000
commitf9b625c36e3dea521c02919e90ac2ddcfd19b06a (patch)
tree6e8fa4e190383746877cc0a49b62de34e6d657bd /sshd.c
parentb38ea865261491e7ef42eb72eb1466bfa8aeefc3 (diff)
- (djm) Fix pam sprintf fix
- (djm) Cleanup entropy collection code a little more. Split initialisation from seeding, perform intialisation immediatly at start, be careful with uids. Based on problem report from Jim Watt <jimw@peisj.pebio.com>
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index a4749fbe..93d68404 100644
--- a/sshd.c
+++ b/sshd.c
@@ -422,6 +422,8 @@ main(int ac, char **av)
char ntop[NI_MAXHOST], strport[NI_MAXSERV];
int listen_sock, maxfd;
+ init_rng();
+
/* Save argv[0]. */
saved_argc = ac;
saved_argv = av;