1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-01-06 13:48:11 -06:00

Linux/MacOSX: Read at least 32 bytes from /dev/random before allowing it to fail gracefully

This commit is contained in:
Mounir IDRASSI
2020-06-21 17:37:11 +02:00
parent e97114e7a0
commit a4c5f03bee
2 changed files with 11 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ namespace VeraCrypt
static size_t WriteOffset;
static struct rand_data *JitterRngCtx;
static bool DevRandomSucceeded;
static int DevRandomBytesCount;
};
}