diff options
Diffstat (limited to 'plugins/Db3x_mmap/src/ui.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/ui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/ui.cpp b/plugins/Db3x_mmap/src/ui.cpp index 902791c1b2..a8fa3f787a 100644 --- a/plugins/Db3x_mmap/src/ui.cpp +++ b/plugins/Db3x_mmap/src/ui.cpp @@ -192,6 +192,7 @@ LBL_Error: SetDlgItemTextA(hwndDlg, IDC_USERPASS2, "");
}
else {
+ param->db->WriteSignature(dbSignatureU);
param->db->SetPassword(NULL);
param->db->StoreKey();
EndDialog(hwndDlg, IDREMOVE);
@@ -215,6 +216,7 @@ LBL_Error: if (!CheckOldPassword(hwndDlg, param->db))
goto LBL_Error;
+ param->db->WriteSignature(dbSignatureE);
param->db->SetPassword(buf2);
param->db->StoreKey();
SecureZeroMemory(buf2, sizeof(buf2));
|