From 97ccbaf0a36f6a8a82c7407746899a9fade34831 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 10 Feb 2019 17:28:38 +0100 Subject: Fix typo in CPU RNG detection condition (Github issue #417) --- src/Common/Crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common') diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c index a6f3ffb7..d9ecc999 100644 --- a/src/Common/Crypto.c +++ b/src/Common/Crypto.c @@ -1223,7 +1223,7 @@ static BOOL CpuRngDisabled = FALSE; BOOL IsCpuRngSupport () { - if (HasRDSEED() || HasRDSEED()) + if (HasRDSEED() || HasRDRAND()) return TRUE; else return FALSE; -- cgit v1.2.3