VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 00:54:24 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 00:55:36 +0100
commitcbc28bd4fe5e1170952d87d80f5e752bf63bd940 (patch)
tree55bf85fd2bb4aa5d0fedc5be1b62f0b12fa1b12f /src/Main
parent9a31c238814a9e433a0b07b127503f56a9ac705a (diff)
downloadVeraCrypt-cbc28bd4fe5e1170952d87d80f5e752bf63bd940.tar.gz
VeraCrypt-cbc28bd4fe5e1170952d87d80f5e752bf63bd940.zip
Linux/MacOSX: change cascade encryption naming format in the UI as it was done on Windows.
Diffstat (limited to 'src/Main')
-rw-r--r--src/Main/Forms/BenchmarkDialog.cpp2
-rw-r--r--src/Main/Forms/EncryptionOptionsWizardPage.cpp4
-rw-r--r--src/Main/Forms/EncryptionTestDialog.cpp2
-rw-r--r--src/Main/TextUserInterface.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/Main/Forms/BenchmarkDialog.cpp b/src/Main/Forms/BenchmarkDialog.cpp
index fd51aa65..9d744ed8 100644
--- a/src/Main/Forms/BenchmarkDialog.cpp
+++ b/src/Main/Forms/BenchmarkDialog.cpp
@@ -73,7 +73,7 @@ namespace VeraCrypt
if (!ea->IsDeprecated())
{
BenchmarkResult result;
- result.AlgorithmName = ea->GetName();
+ result.AlgorithmName = ea->GetName(true);
Buffer key (ea->GetKeySize());
ea->SetKey (key);
diff --git a/src/Main/Forms/EncryptionOptionsWizardPage.cpp b/src/Main/Forms/EncryptionOptionsWizardPage.cpp
index c05ee5b2..f75c8642 100644
--- a/src/Main/Forms/EncryptionOptionsWizardPage.cpp
+++ b/src/Main/Forms/EncryptionOptionsWizardPage.cpp
@@ -24,7 +24,7 @@ namespace VeraCrypt
foreach (shared_ptr <EncryptionAlgorithm> ea, EncryptionAlgorithms)
{
if (!ea->IsDeprecated())
- EncryptionAlgorithmChoice->Append (ea->GetName(), ea.get());
+ EncryptionAlgorithmChoice->Append (ea->GetName(true), ea.get());
}
EncryptionAlgorithmChoice->Select (0);
@@ -124,7 +124,7 @@ namespace VeraCrypt
{
if (algorithm)
{
- EncryptionAlgorithmChoice->SetStringSelection (algorithm->GetName());
+ EncryptionAlgorithmChoice->SetStringSelection (algorithm->GetName(true));
OnEncryptionAlgorithmSelected ();
}
}
diff --git a/src/Main/Forms/EncryptionTestDialog.cpp b/src/Main/Forms/EncryptionTestDialog.cpp
index ab27826d..fdfa598b 100644
--- a/src/Main/Forms/EncryptionTestDialog.cpp
+++ b/src/Main/Forms/EncryptionTestDialog.cpp
@@ -21,7 +21,7 @@ namespace VeraCrypt
foreach (shared_ptr <EncryptionAlgorithm> ea, EncryptionAlgorithms)
{
if (!ea->IsDeprecated())
- EncryptionAlgorithmChoice->Append (ea->GetName(), ea.get());
+ EncryptionAlgorithmChoice->Append (ea->GetName(true), ea.get());
}
EncryptionAlgorithmChoice->Select (0);
diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp
index 62fdc235..c1b17b2b 100644
--- a/src/Main/TextUserInterface.cpp
+++ b/src/Main/TextUserInterface.cpp
@@ -664,7 +664,7 @@ namespace VeraCrypt
{
if (!ea->IsDeprecated())
{
- ShowString (StringFormatter (L" {0}) {1}\n", (uint32) encryptionAlgorithms.size() + 1, ea->GetName()));
+ ShowString (StringFormatter (L" {0}) {1}\n", (uint32) encryptionAlgorithms.size() + 1, ea->GetName(true)));
encryptionAlgorithms.push_back (ea);
}
}