summaryrefslogtreecommitdiffstats
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-03-18 23:38:15 +0100
committerDamien Miller <djm@mindrot.org>2001-03-18 23:38:15 +0100
commit60bc51735643baa1b7fb237ea56303fed454dadb (patch)
tree8ece761df99755046be27984f4ea8dcbca1d99d5 /ssh-keygen.c
parent - tim@mindrot.org 2001/03/17 18:45:25 [compat.c] (diff)
downloadopenssh-60bc51735643baa1b7fb237ea56303fed454dadb.tar.xz
openssh-60bc51735643baa1b7fb237ea56303fed454dadb.zip
- (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
do it implicitly.
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index b9ea01781..086b8ad4c 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -639,6 +639,7 @@ main(int ac, char **av)
__progname = get_progname(av[0]);
init_rng();
+ seed_rng();
SSLeay_add_all_algorithms();