summaryrefslogtreecommitdiff
path: root/ssh-keysign.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-07 03:11:38 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-07 03:11:38 +0000
commitdb41d2390c0f3f47541330b79e45566e3f743535 (patch)
treebdd6a07c835557f66e676b0241a8a56cb64a7d4b /ssh-keysign.c
parentb85ab30a6e02800b1a74c493868c80081a3cfb53 (diff)
downloadopenssh-git-db41d2390c0f3f47541330b79e45566e3f743535.tar.gz
- (bal) ssh-keysign should build and install correctly now. Phase two
would be to clean out any dead wood and disable ssh setuid on install.
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r--ssh-keysign.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c
index da630708..bb70c7df 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -137,6 +137,10 @@ main(int argc, char **argv)
seteuid(getuid());
setuid(getuid());
+ init_rng();
+ seed_rng();
+ arc4random_stir();
+
#ifdef DEBUG_SSH_KEYSIGN
log_init("ssh-keysign", SYSLOG_LEVEL_DEBUG3, SYSLOG_FACILITY_AUTH, 0);
#endif