From 5a5da88c59d30c8a97625def757d20f151bb200c Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 21 Oct 2002 10:13:35 +1000 Subject: - (djm) Kill ssh-rand-helper children on timeout, patch from dtucker@zip.com.au --- ChangeLog | 6 +++++- ssh-rand-helper.c | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0947b39e0..9a01c2317 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20021021 + - (djm) Kill ssh-rand-helper children on timeout, patch from + dtucker@zip.com.au + 20021015 - (bal) Fix bug id 383 and only call loginrestrict for AIX if not root. - (bal) More advanced strsep test by Darren Tucker @@ -768,4 +772,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2496 2002/10/16 00:24:03 mouring Exp $ +$Id: ChangeLog,v 1.2497 2002/10/21 00:13:35 djm Exp $ diff --git a/ssh-rand-helper.c b/ssh-rand-helper.c index e6c52b546..375ba3cbf 100644 --- a/ssh-rand-helper.c +++ b/ssh-rand-helper.c @@ -39,7 +39,7 @@ #include "pathnames.h" #include "log.h" -RCSID("$Id: ssh-rand-helper.c,v 1.8 2002/07/28 20:42:24 stevesk Exp $"); +RCSID("$Id: ssh-rand-helper.c,v 1.9 2002/10/21 00:13:37 djm Exp $"); /* Number of bytes we write out */ #define OUTPUT_SEED_SIZE 48 @@ -355,6 +355,7 @@ hash_command_output(entropy_cmd_t *src, unsigned char *hash) case 0: /* timer expired */ error_abort = 1; + kill(pid, SIGINT); break; case 1: /* command input */ -- cgit v1.2.3