VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Mount.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-13 17:13:55 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-15 00:17:11 +0100
commit29b749bdd96668d1aa9259b70be436e807b46af2 (patch)
treef170fbd253d5206b02f66469457bd5e0a500d230 /src/Mount/Mount.c
parentadf97533d315a939393f12067e1d2a655b076bf0 (diff)
downloadVeraCrypt-29b749bdd96668d1aa9259b70be436e807b46af2.tar.gz
VeraCrypt-29b749bdd96668d1aa9259b70be436e807b46af2.zip
Windows: rename IsCpuRngSupport to IsCpuRngSupported for clarity and use it in Mount.c
Diffstat (limited to 'src/Mount/Mount.c')
-rw-r--r--src/Mount/Mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 9cd61757..5f12baa5 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -11115,7 +11115,7 @@ static BOOL CALLBACK PerformanceSettingsDlgProc (HWND hwndDlg, UINT msg, WPARAM
EnableWindow (GetDlgItem (hwndDlg, IDC_ALLOW_WINDOWS_DEFRAG), FALSE);
}
- if (HasRDRAND() || HasRDSEED())
+ if (IsCpuRngSupported())
{
CheckDlgButton (hwndDlg, IDC_ENABLE_CPU_RNG, (driverConfig & VC_DRIVER_CONFIG_ENABLE_CPU_RNG) ? BST_CHECKED : BST_UNCHECKED);
}