summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbcrypt.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-18 13:04:55 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-18 13:04:55 +0000
commit22fa808cca12864de4a914e6f8de72b3cbcd46af (patch)
tree371fc3f9465efd1c424a0b0c099f454a93a773d4 /plugins/Db3x_mmap/src/dbcrypt.cpp
parent2868202cb6260735157346833a4cf6326772011d (diff)
db3x_mmap: cryptoprovider select dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@16302 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbcrypt.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbcrypt.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbcrypt.cpp b/plugins/Db3x_mmap/src/dbcrypt.cpp
index 7a1dbe996a..b2f72c50d6 100644
--- a/plugins/Db3x_mmap/src/dbcrypt.cpp
+++ b/plugins/Db3x_mmap/src/dbcrypt.cpp
@@ -144,7 +144,13 @@ int CDb3Mmap::InitCrypt()
if (iNumProvs == 0)
return 1;
- pProvider = ppProvs[0]; //!!!!!!!!!!!!!!!!!!
+ if (iNumProvs > 1)
+ {
+ CSelectCryptoDialog dlg(ppProvs, iNumProvs);
+ dlg.DoModal();
+ pProvider = dlg.GetSelected();
+ }
+ else pProvider = ppProvs[0];
DBCONTACTWRITESETTING dbcws = { "CryptoEngine", "Provider" };
dbcws.value.type = DBVT_BLOB;