summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-15 18:55:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-15 18:55:02 +0300
commit52937470c58655662a001001156f2c3f03ab6d07 (patch)
tree70beb322d573bfa9bb35a6e820b1150365cf763c /plugins/CrashDumper
parent5c1e5146728e8bbbc97c521f7f7dc6837f681e0e (diff)
VI: added database encryption mode
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r--plugins/CrashDumper/src/dumper.cpp7
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;