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:
@@ -56,6 +56,7 @@ namespace VeraCrypt
|
||||
static size_t WriteOffset;
|
||||
static struct rand_data *JitterRngCtx;
|
||||
static bool DevRandomSucceeded;
|
||||
static int DevRandomBytesCount;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user