summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authordjm <djm>2001-03-18 22:38:15 +0000
committerdjm <djm>2001-03-18 22:38:15 +0000
commit4520e88090db58cd2e0fcc78e41209b8b297ec50 (patch)
treec5c34c349d60d99336badad67b489ef875bb0937 /ssh-agent.c
parente1733212ded78f216483a2e14e11dd90c354271d (diff)
downloadopenssh-4520e88090db58cd2e0fcc78e41209b8b297ec50.tar.gz
- (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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 5a774d57..8c4b5397 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -740,6 +740,7 @@ main(int ac, char **av)
__progname = get_progname(av[0]);
init_rng();
+ seed_rng();
#ifdef __GNU_LIBRARY__
while ((ch = getopt(ac, av, "+cks")) != -1) {