VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-19 02:15:18 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-19 03:31:39 +0200
commitf765860dfb60a98dd7d46c97d76fe2776b7e2022 (patch)
tree14632cfa5b9d3e75d31ad8a656362be7283ad6b7 /src/Main
parent7ab114e0fa92589d6e46062da9ad9522a114bbc0 (diff)
downloadVeraCrypt-f765860dfb60a98dd7d46c97d76fe2776b7e2022.tar.gz
VeraCrypt-f765860dfb60a98dd7d46c97d76fe2776b7e2022.zip
Linux/MacOSX: Complete the change of removal of AES-NI detection function done for Windows previously
Diffstat (limited to 'src/Main')
-rw-r--r--src/Main/Forms/PreferencesDialog.cpp2
1 files changed, 1 insertions, 1 deletions
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