diff options
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/Dlgcode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 4dee81b1..be4ee043 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -5808,6 +5808,11 @@ static BOOL PerformBenchmark(HWND hBenchDlg, HWND hwndDlg) if (!EAInitMode (ci, ci->k2)) goto counter_error; +#ifdef _WIN64 + if (IsRamEncryptionEnabled ()) + VcProtectKeys (ci, VcGetEncryptionID (ci)); +#endif + if (QueryPerformanceCounter (&performanceCountStart) == 0) goto counter_error; |