From 60bc51735643baa1b7fb237ea56303fed454dadb Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 19 Mar 2001 09:38:15 +1100 Subject: - (djm) Seed PRNG at startup, rather than waiting for arc4random calls to do it implicitly. --- sshd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index 2d6cbd09e..0a1048cd3 100644 --- a/sshd.c +++ b/sshd.c @@ -687,6 +687,8 @@ main(int ac, char **av) options.log_facility == -1 ? SYSLOG_FACILITY_AUTH : options.log_facility, !inetd_flag); + seed_rng(); + /* Read server configuration options from the configuration file. */ read_server_config(&options, config_file_name); -- cgit v1.2.3