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:
9f6fe8d
)
Set the CryptoAPI randomness estimate back to 0.
author
Ulf Möller
<ulf@openssl.org>
Sat, 4 Nov 2000 03:33:26 +0000
(
03:33
+0000)
committer
Ulf Möller
<ulf@openssl.org>
Sat, 4 Nov 2000 03:33:26 +0000
(
03:33
+0000)
The randomness may not actually be very good (we don't know).
crypto/rand/rand_win.c
patch
|
blob
|
history
diff --git
a/crypto/rand/rand_win.c
b/crypto/rand/rand_win.c
index 163cee02c72829b6fd8081726900a96ca3c6e68a..abefc5eadbe85fd0c051ecfd4cb322f870512a4f 100644
(file)
--- a/
crypto/rand/rand_win.c
+++ b/
crypto/rand/rand_win.c
@@
-310,7
+310,7
@@
int RAND_poll(void)
{
if (gen(hProvider, sizeof(buf), buf) != 0)
{
- RAND_add(buf, sizeof(buf),
sizeof(buf)
);
+ RAND_add(buf, sizeof(buf),
0
);
#ifdef DEBUG
printf("randomness from PROV_RSA_FULL\n");
#endif