1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-01-07 22:28:12 -06:00

Linux/MacOSX: Don't always ignore /dev/random failure by making sure that it has returned random bytes successfully at least once during the lifetime of RandomNumberGenerator

This commit is contained in:
Mounir IDRASSI
2020-06-19 03:30:05 +02:00
parent f765860dfb
commit 4f1de9666a
2 changed files with 21 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ namespace VeraCrypt
static bool Running;
static size_t WriteOffset;
static struct rand_data *JitterRngCtx;
static bool DevRandomSucceeded;
};
}