diff options
author | Damien Miller <djm@mindrot.org> | 2001-03-19 09:38:15 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-03-19 09:38:15 +1100 |
commit | 60bc51735643baa1b7fb237ea56303fed454dadb (patch) | |
tree | 8ece761df99755046be27984f4ea8dcbca1d99d5 /sshd.c | |
parent | b399be4436914e23dd066482a371e068f2724f5c (diff) |
- (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
do it implicitly.
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -687,6 +687,8 @@ main(int ac, char **av) | |||
687 | options.log_facility == -1 ? SYSLOG_FACILITY_AUTH : options.log_facility, | 687 | options.log_facility == -1 ? SYSLOG_FACILITY_AUTH : options.log_facility, |
688 | !inetd_flag); | 688 | !inetd_flag); |
689 | 689 | ||
690 | seed_rng(); | ||
691 | |||
690 | /* Read server configuration options from the configuration file. */ | 692 | /* Read server configuration options from the configuration file. */ |
691 | read_server_config(&options, config_file_name); | 693 | read_server_config(&options, config_file_name); |
692 | 694 | ||