From d3093944472b202c6df10a37d6bb06318f2fcf14 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 8 Aug 2000 15:06:44 +0000 Subject: [PATCH] Make sure that 'initialized' is zeroed as well when cleaning up. --- crypto/rand/md_rand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c index 837947e8a6..d167dea77d 100644 --- a/crypto/rand/md_rand.c +++ b/crypto/rand/md_rand.c @@ -182,6 +182,7 @@ static void ssleay_rand_cleanup(void) md_count[0]=0; md_count[1]=0; entropy=0; + initialized=0; } static void ssleay_rand_add(const void *buf, int num, double add) -- 2.34.1