Make sure that 'initialized' is zeroed as well when cleaning up.
This commit is contained in:
parent
d4fbe3182d
commit
d309394447
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue