X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshrand.c;h=ead39a9bdad917ec144faddd1ee4df1ec2cd22fd;hb=cc66c86e7311c97db09da989c340ba3108c9e14f;hp=c26fc75706541c775d1c44864a2ca0e8c057cac7;hpb=8966f7c1eac34b6d732aa54b32d67819eb6bdce2;p=PuTTY.git diff --git a/sshrand.c b/sshrand.c index c26fc757..ead39a9b 100644 --- a/sshrand.c +++ b/sshrand.c @@ -288,14 +288,13 @@ void random_ref(void) if (!random_active) { memset(&pool, 0, sizeof(pool)); /* just to start with */ - random_active++; - noise_get_heavy(random_add_heavynoise_bitbybit); random_stir(); next_noise_collection = schedule_timer(NOISE_REGULAR_INTERVAL, random_timer, &pool); } + random_active++; } void random_unref(void)