diff options
author | Richard Levitte <levitte@openssl.org> | 2000-08-08 15:06:44 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-08-08 15:06:44 +0000 |
commit | d3093944472b202c6df10a37d6bb06318f2fcf14 (patch) | |
tree | aa26c35f8c624dd96b6cf996ec279a9df2b6a545 | |
parent | d4fbe3182df4425d5a382c217df3ad59cb25a180 (diff) |
Make sure that 'initialized' is zeroed as well when cleaning up.
-rw-r--r-- | crypto/rand/md_rand.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |