From: Richard Levitte Date: Tue, 8 Aug 2000 15:06:44 +0000 (+0000) Subject: Make sure that 'initialized' is zeroed as well when cleaning up. X-Git-Tag: OpenSSL-engine-0_9_6-beta1~12^2~72 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d3093944472b202c6df10a37d6bb06318f2fcf14;p=oweals%2Fopenssl.git Make sure that 'initialized' is zeroed as well when cleaning up. --- 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)