main: use moar_random_data()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-02-03 03:15:53 +01:00
parent 2c215967cd
commit ffca8a8d37
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -83,8 +83,11 @@ int main() {
try {
using std::chrono_literals::operator""ms;
// this may fail, p0 probaby has not collected enough entropy by now
chance::f->random_data(4); // number of bytes requested
std::this_thread::sleep_for(7777ms); // enough time for p0 == 64
chance::f->moar_random_data(1000000000000); // 1000 GB --> for dieharder
if (chance::AUTOSTOP) {
auto err{chance::f->stop_running()};