diff --git a/src/random.h b/src/random.h --- a/src/random.h +++ b/src/random.h @@ -58,7 +58,6 @@ * entropy sources used in the 'slow' seeder are included, but also: * - 256 bits from the hardware RNG (rdseed or rdrand) when available. * - (On Windows) Performance monitoring data from the OS. - * - (On Windows) Through OpenSSL, the screen contents. * - Strengthen the entropy for 100 ms using repeated SHA512. * * When mixing in new entropy, H = SHA512(entropy || old_rng_state) is computed, diff --git a/src/random.cpp b/src/random.cpp --- a/src/random.cpp +++ b/src/random.cpp @@ -10,10 +10,10 @@ #include #endif #include -#include // for LogPrint() +#include // for LogPrintf() #include #include -#include // for WAIT_LOCK +#include // for Mutex #include // for GetTime() #include @@ -776,7 +776,7 @@ /** * This does not measure the quality of randomness, but it does test that - * OSRandom() overwrites all 32 bytes of the output given a maximum number + * GetOSRand() overwrites all 32 bytes of the output given a maximum number * of tries. */ static const ssize_t MAX_TRIES = 1024;