VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/PreferencesDialog.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-19 00:15:18 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-19 01:31:39 (GMT)
commitf765860dfb60a98dd7d46c97d76fe2776b7e2022 (patch)
tree14632cfa5b9d3e75d31ad8a656362be7283ad6b7 /src/Main/Forms/PreferencesDialog.cpp
parent7ab114e0fa92589d6e46062da9ad9522a114bbc0 (diff)
downloadVeraCrypt-f765860dfb60a98dd7d46c97d76fe2776b7e2022.zip
VeraCrypt-f765860dfb60a98dd7d46c97d76fe2776b7e2022.tar.gz
Linux/MacOSX: Complete the change of removal of AES-NI detection function done for Windows previously
Diffstat (limited to 'src/Main/Forms/PreferencesDialog.cpp')
-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 e2b4f62..ee4b2d5 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