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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user