summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/ui.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-28 08:59:43 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-28 08:59:43 +0000
commitbdb57491b80e74a40d9eebf36b0be08bfd0fd320 (patch)
tree4929ddacfcf92b83871d3834fe817b7044316789 /plugins/Dbx_mdb/src/ui.cpp
parent2297d8f2a8749ea9ffebbd13cdd9e903932fa3c8 (diff)
dbx_lmdb: fix events deletion; some fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16367 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/ui.cpp')
-rw-r--r--plugins/Dbx_mdb/src/ui.cpp22
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(&param);
- 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(&param, sizeof(param));
- return true;
- }
-
- param.wrongPass++;
- }
-}
/////////////////////////////////////////////////////////////////////////////////////////