From e31c0b14c3fa77fb4e164f387a7ac9744e7b41d0 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sat, 3 Feb 2001 22:33:00 +0000 Subject: [PATCH] Stuff more randomness into the pool in the interval timer. Organization: Straylight/Edgeware From: mdw --- tripe.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tripe.c b/tripe.c index 6ff4a6a8..cacc7708 100644 --- a/tripe.c +++ b/tripe.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: tripe.c,v 1.1 2001/02/03 20:26:37 mdw Exp $ + * $Id: tripe.c,v 1.2 2001/02/03 22:33:00 mdw Exp $ * * Main program * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: tripe.c,v $ + * Revision 1.2 2001/02/03 22:33:00 mdw + * Stuff more randomness into the pool in the interval timer. + * * Revision 1.1 2001/02/03 20:26:37 mdw * Initial checkin. * @@ -64,6 +67,7 @@ void interval(struct timeval *tv, void *v) { struct timeval tvv; T( trace(T_PEER, "peer: interval timer"); ) + rand_seed(RAND_GLOBAL, RMD160_HASHSZ); p_interval(); tvv = *tv; tvv.tv_sec += T_INTERVAL; -- [mdw]