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 /ssh-agent.c | |
parent | b399be4436914e23dd066482a371e068f2724f5c (diff) |
- (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
do it implicitly.
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 5a774d570..8c4b5397c 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -740,6 +740,7 @@ main(int ac, char **av) | |||
740 | 740 | ||
741 | __progname = get_progname(av[0]); | 741 | __progname = get_progname(av[0]); |
742 | init_rng(); | 742 | init_rng(); |
743 | seed_rng(); | ||
743 | 744 | ||
744 | #ifdef __GNU_LIBRARY__ | 745 | #ifdef __GNU_LIBRARY__ |
745 | while ((ch = getopt(ac, av, "+cks")) != -1) { | 746 | while ((ch = getopt(ac, av, "+cks")) != -1) { |