summaryrefslogtreecommitdiff
path: root/ssh.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.c
parentb38ea865261491e7ef42eb72eb1466bfa8aeefc3 (diff)
downloadopenssh-git-f9b625c36e3dea521c02919e90ac2ddcfd19b06a.tar.gz
- (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.c')
-rw-r--r--ssh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh.c b/ssh.c
index f9742dc8..be2ba446 100644
--- a/ssh.c
+++ b/ssh.c
@@ -206,6 +206,8 @@ main(int ac, char **av)
int dummy;
uid_t original_effective_uid;
+ init_rng();
+
/*
* Save the original real uid. It will be needed later (uid-swapping
* may clobber the real uid).