diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-15 18:55:02 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-15 18:55:02 +0300 |
commit | 52937470c58655662a001001156f2c3f03ab6d07 (patch) | |
tree | 70beb322d573bfa9bb35a6e820b1150365cf763c /plugins/CrashDumper | |
parent | 5c1e5146728e8bbbc97c521f7f7dc6837f681e0e (diff) |
VI: added database encryption mode
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r-- | plugins/CrashDumper/src/dumper.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp index 66c74b337d..cd11487007 100644 --- a/plugins/CrashDumper/src/dumper.cpp +++ b/plugins/CrashDumper/src/dumper.cpp @@ -413,9 +413,12 @@ void PrintVersionInfo(CMStringW& buffer, unsigned flags) mir_snwprintf(profpn, L"%s\\%s", profpathfull, profname);
buffer.AppendFormat(L"Profile: %s\r\n", profpn);
- if (auto *pDb = db_get_current())
+ if (auto *pDb = db_get_current()) {
if (auto *dbLink = pDb->GetDriver())
- buffer.AppendFormat(L"Database driver: %s\r\n", dbLink ->szFullName);
+ buffer.AppendFormat(L"Database driver: %s\r\n", dbLink->szFullName);
+ buffer.AppendFormat(L"Database encryption mode: %s\r\n",
+ pDb->isEncrypted() ? L"total" : L"default");
+ }
if (flags & VI_FLAG_PRNVAR) {
WIN32_FIND_DATA FindFileData;
|