commit | 8eb71417584914688f89a77170642c8ce58b1a3e | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Wed Jan 30 09:37:06 2002 +1100 |
committer | Damien Miller <djm@mindrot.org> | Wed Jan 30 09:37:06 2002 +1100 |
tree | c6c5ab43ed3d426e41be699a236207ed69bb8f0c | |
parent | f1cec392edfe74c434ea9c5ac6e95d0a472bd2ac [diff] [blame] |
- (djm) Delay PRNG seeding until we need it in ssh-keygen, from markus@
diff --git a/ssh-keygen.c b/ssh-keygen.c index 49137fb..def487e 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c
@@ -847,8 +847,6 @@ extern char *optarg; __progname = get_progname(av[0]); - init_rng(); - seed_rng(); SSLeay_add_all_algorithms(); @@ -964,6 +962,8 @@ #endif /* SMARTCARD */ } + init_rng(); + seed_rng(); arc4random_stir(); if (key_type_name == NULL) {