summaryrefslogtreecommitdiffstats
path: root/ssh-keysign.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-07 05:11:38 +0200
committerBen Lindstrom <mouring@eviladmin.org>2002-06-07 05:11:38 +0200
commitdb41d2390c0f3f47541330b79e45566e3f743535 (patch)
treebdd6a07c835557f66e676b0241a8a56cb64a7d4b /ssh-keysign.c
parent - (bal) Refixed auth2.c. It was never fully commited while spliting out (diff)
downloadopenssh-db41d2390c0f3f47541330b79e45566e3f743535.tar.xz
openssh-db41d2390c0f3f47541330b79e45566e3f743535.zip
- (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 da630708d..bb70c7dfb 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