summaryrefslogtreecommitdiff
path: root/ssh-add.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-add.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-add.c')
-rw-r--r--ssh-add.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 661e1ffa..a5d785ce 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -210,6 +210,8 @@ main(int argc, char **argv)
int i;
int deleting = 0;
+ init_rng();
+
/* check if RSA support exists */
if (rsa_alive() == 0) {
fprintf(stderr,