VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/RandomNumberGenerator.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-09-08 09:49:07 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-09-08 09:49:07 +0200
commita903049858c1cc991759ffdd2aaabf9157374e11 (patch)
treea6e7561ccbdc204802179e18fdb9ae2aac84fc4c /src/Core/RandomNumberGenerator.h
parentf15052e68d43bdad8d8a125a3601ff8cedcf5a3d (diff)
downloadVeraCrypt-a903049858c1cc991759ffdd2aaabf9157374e11.tar.gz
VeraCrypt-a903049858c1cc991759ffdd2aaabf9157374e11.zip
Linux/macOS: simplify logic of handling /dev/random reading failure (proposed by @Lavode in #1187)
Fixes #1187
Diffstat (limited to 'src/Core/RandomNumberGenerator.h')
-rw-r--r--src/Core/RandomNumberGenerator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Core/RandomNumberGenerator.h b/src/Core/RandomNumberGenerator.h
index 8f440630..333a8e36 100644
--- a/src/Core/RandomNumberGenerator.h
+++ b/src/Core/RandomNumberGenerator.h
@@ -55,7 +55,6 @@ namespace VeraCrypt
static bool Running;
static size_t WriteOffset;
static struct rand_data *JitterRngCtx;
- static bool DevRandomSucceeded;
static int DevRandomBytesCount;
};
}