1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-07-06 13:08:00 -05:00

Linux/macOS: preserve unknown entries in configuration file

This helps to preserve unknown entries that may be used by future
versions of VeraCrypt (forward compatibility) or entries used by old
versions that were removed from current version (backward compatibility)
This commit is contained in:
Mounir IDRASSI
2023-09-02 01:37:52 +02:00
parent 8e2329bf9e
commit 14fee0da1a
2 changed files with 28 additions and 10 deletions
+4
View File
@@ -96,6 +96,10 @@ namespace VeraCrypt
bool WipeCacheOnAutoDismount;
bool WipeCacheOnClose;
// A map used to store unknown entries from the configuration file in order to preserve them when saving the configuration.
// This helps to preserve unknown entries that may be used by future versions of VeraCrypt or entries used by old versions that were removed from current version.
map <wxString, wxString> UnknownConfigMapEntries;
protected:
wxString GetDefaultKeyfilesFileName () const { return L"Default Keyfiles.xml"; }
#ifdef TC_PROTOTYPE