summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;