projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4fbe31
)
Make sure that 'initialized' is zeroed as well when cleaning up.
author
Richard Levitte
<levitte@openssl.org>
Tue, 8 Aug 2000 15:06:44 +0000
(15:06 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 8 Aug 2000 15:06:44 +0000
(15:06 +0000)
crypto/rand/md_rand.c
patch
|
blob
|
history
diff --git
a/crypto/rand/md_rand.c
b/crypto/rand/md_rand.c
index 837947e8a622c90307c1f12336f987c424cddcaf..d167dea77db6485bd14427dfb78bb3c6e8c9b1d5 100644
(file)
--- 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)