diff options
Diffstat (limited to 'src/Main')
-rw-r--r-- | src/Main/GraphicUserInterface.cpp | 1 | ||||
-rw-r--r-- | src/Main/TextUserInterface.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp index 642a572c..e225726a 100644 --- a/src/Main/GraphicUserInterface.cpp +++ b/src/Main/GraphicUserInterface.cpp @@ -726,41 +726,40 @@ namespace VeraCrypt ShowWarning (e); } } else ShowWarning (e); } catch (PasswordException &e) { ShowWarning (e); } } } catch (exception &e) { ShowError (e); } #ifdef TC_LINUX if (volume && !Preferences.NonInteractive && !Preferences.DisableKernelEncryptionModeWarning && volume->EncryptionModeName != L"XTS" - && (volume->EncryptionModeName != L"LRW" || volume->EncryptionAlgorithmMinBlockSize != 16 || volume->EncryptionAlgorithmKeySize != 32) && !AskYesNo (LangString["ENCRYPTION_MODE_NOT_SUPPORTED_BY_KERNEL"] + _("\n\nDo you want to show this message next time you mount such a volume?"), true, true)) { UserPreferences prefs = GetPreferences(); prefs.DisableKernelEncryptionModeWarning = true; Gui->SetPreferences (prefs); } #endif return volume; } void GraphicUserInterface::OnAutoDismountAllEvent () { VolumeInfoList mountedVolumes = Core->GetMountedVolumes(); if (!mountedVolumes.empty()) { wxBusyCursor busy; AutoDismountVolumes (mountedVolumes); } } diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp index d4189a43..12647707 100644 --- a/src/Main/TextUserInterface.cpp +++ b/src/Main/TextUserInterface.cpp @@ -1167,41 +1167,40 @@ namespace VeraCrypt } } else { ShowInfo (e); options.Password.reset(); } ShowString (L"\n"); } catch (PasswordException &e) { ShowInfo (e); options.Password.reset(); } } #ifdef TC_LINUX if (!Preferences.NonInteractive && !Preferences.DisableKernelEncryptionModeWarning && volume->EncryptionModeName != L"XTS" - && (volume->EncryptionModeName != L"LRW" || volume->EncryptionAlgorithmMinBlockSize != 16 || volume->EncryptionAlgorithmKeySize != 32)) { ShowWarning (LangString["ENCRYPTION_MODE_NOT_SUPPORTED_BY_KERNEL"]); } #endif return volume; } bool TextUserInterface::OnInit () { try { DefaultMessageOutput = new wxMessageOutputStderr; wxMessageOutput::Set (DefaultMessageOutput); InterfaceType = UserInterfaceType::Text; Init(); } catch (exception &e) { |