summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-09 22:42:32 +1000
committerDamien Miller <djm@mindrot.org>2000-07-09 22:42:32 +1000
commitf9b625c36e3dea521c02919e90ac2ddcfd19b06a (patch)
tree6e8fa4e190383746877cc0a49b62de34e6d657bd /ssh-agent.c
parentb38ea865261491e7ef42eb72eb1466bfa8aeefc3 (diff)
- (djm) Fix pam sprintf fix
- (djm) Cleanup entropy collection code a little more. Split initialisation from seeding, perform intialisation immediatly at start, be careful with uids. Based on problem report from Jim Watt <jimw@peisj.pebio.com>
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 7bfa29042..148bcff6e 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -509,6 +509,8 @@ main(int ac, char **av)
509 char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid]; 509 char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid];
510 extern int optind; 510 extern int optind;
511 511
512 init_rng();
513
512 /* check if RSA support exists */ 514 /* check if RSA support exists */
513 if (rsa_alive() == 0) { 515 if (rsa_alive() == 0) {
514 fprintf(stderr, 516 fprintf(stderr,