From f765860dfb60a98dd7d46c97d76fe2776b7e2022 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 19 Jun 2020 02:15:18 +0200 Subject: Linux/MacOSX: Complete the change of removal of AES-NI detection function done for Windows previously --- src/Main/Forms/PreferencesDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/Forms/PreferencesDialog.cpp b/src/Main/Forms/PreferencesDialog.cpp index e2b4f626..ee4b2d5b 100644 --- a/src/Main/Forms/PreferencesDialog.cpp +++ b/src/Main/Forms/PreferencesDialog.cpp @@ -87,7 +87,7 @@ namespace VeraCrypt // Encryption AesHwCpuSupportedStaticText->SetLabel ( #ifdef TC_AES_HW_CPU - (is_aes_hw_cpu_supported() ? LangString["UISTR_YES"] : LangString["UISTR_NO"])); + (HasAESNI() ? LangString["UISTR_YES"] : LangString["UISTR_NO"])); #else LangString["NOT_APPLICABLE_OR_NOT_AVAILABLE"]); #endif -- cgit v1.2.3