diff options
author | Ulf Möller <ulf@openssl.org> | 2000-11-04 03:33:26 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-11-04 03:33:26 +0000 |
commit | 361c7f2b52a1400b55ad93b1409e9eae61f41e94 (patch) | |
tree | 4778adb0117968b28372e8e72af9bc8be754ed28 /crypto/rand/rand_win.c | |
parent | 9f6fe8dbe70f4ef5a1263cf8f3d6351519373c8f (diff) |
Set the CryptoAPI randomness estimate back to 0.
The randomness may not actually be very good (we don't know).
Diffstat (limited to 'crypto/rand/rand_win.c')
-rw-r--r-- | crypto/rand/rand_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index 163cee02c7..abefc5eadb 100644 --- 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 |