From 29b749bdd96668d1aa9259b70be436e807b46af2 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 13 Feb 2019 17:13:55 +0100 Subject: Windows: rename IsCpuRngSupport to IsCpuRngSupported for clarity and use it in Mount.c --- src/Mount/Mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mount') 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); } -- cgit v1.2.3