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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue