Set the CryptoAPI randomness estimate back to 0.
The randomness may not actually be very good (we don't know).
This commit is contained in:
parent
9f6fe8dbe7
commit
361c7f2b52
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user