diff options
Diffstat (limited to 'plugins/Dbx_mdb/src/ui.cpp')
-rw-r--r-- | plugins/Dbx_mdb/src/ui.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/Dbx_mdb/src/ui.cpp b/plugins/Dbx_mdb/src/ui.cpp index 67fc6a5610..8c7ec8c52c 100644 --- a/plugins/Dbx_mdb/src/ui.cpp +++ b/plugins/Dbx_mdb/src/ui.cpp @@ -39,28 +39,6 @@ void LanguageChanged(HWND hwndDlg) }
}
-/////////////////////////////////////////////////////////////////////////////////////////
-
-bool CDbxMdb::EnterPassword(const BYTE *pKey, const size_t keyLen)
-{
- DlgChangePassParam param = { this };
- CEnterPasswordDialog dlg(¶m);
- while (true)
- {
- if (-128 != dlg.DoModal())
- return false;
-
- m_crypto->setPassword(pass_ptrA(mir_utf8encodeT(param.newPass)));
- if (m_crypto->setKey(pKey, keyLen))
- {
- m_bUsesPassword = true;
- SecureZeroMemory(¶m, sizeof(param));
- return true;
- }
-
- param.wrongPass++;
- }
-}
/////////////////////////////////////////////////////////////////////////////////////////
|