diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Db3x_mmap/src/dbsettings.cpp | 3 | ||||
-rw-r--r-- | plugins/Dbx_tree/src/Compatibility.cpp | 3 | ||||
-rw-r--r-- | plugins/LotusNotify/src/LotusNotify.cpp | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/plugins/Db3x_mmap/src/dbsettings.cpp b/plugins/Db3x_mmap/src/dbsettings.cpp index d0ea542bb5..915975388e 100644 --- a/plugins/Db3x_mmap/src/dbsettings.cpp +++ b/plugins/Db3x_mmap/src/dbsettings.cpp @@ -39,8 +39,9 @@ DWORD __forceinline GetSettingValueLength(PBYTE pSetting) static bool isEncrypted(LPCSTR szModule, LPCSTR szSetting)
{
- if (!_strnicmp(szSetting, "password", 8)) return true;
+ if (!_strnicmp(szSetting, "password", 8)) return true;
if (!strcmp(szSetting, "NLProxyAuthPassword")) return true;
+ if (!strcmp(szSetting, "LNPassword")) return true;
if (!strcmp(szSetting, "FileProxyPassword")) return true;
if (!strcmp(szSetting, "TokenSecret")) return true;
diff --git a/plugins/Dbx_tree/src/Compatibility.cpp b/plugins/Dbx_tree/src/Compatibility.cpp index 921b772370..4ea0092e7b 100644 --- a/plugins/Dbx_tree/src/Compatibility.cpp +++ b/plugins/Dbx_tree/src/Compatibility.cpp @@ -157,8 +157,9 @@ STDMETHODIMP_(HANDLE) CDataBase::FindNextContact(HANDLE hContact, const char* sz static bool isEncrypted(LPCSTR szModule, LPCSTR szSetting)
{
- if (!_strnicmp(szSetting, "password", 8)) return true;
+ if (!_strnicmp(szSetting, "password", 8)) return true;
if (!strcmp(szSetting, "NLProxyAuthPassword")) return true;
+ if (!strcmp(szSetting, "LNPassword")) return true;
if (!strcmp(szSetting, "FileProxyPassword")) return true;
if (!strcmp(szSetting, "TokenSecret")) return true;
diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index 29052842c6..c349d8243e 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -990,7 +990,6 @@ void LoadSettings() if(!db_get(NULL, PLUGINNAME, "LNPassword", &dbv))
strncpy_s(settingPassword, _countof(settingPassword), dbv.pszVal, SIZEOF(settingPassword));
db_free(&dbv);
- CallService(MS_DB_CRYPT_DECODESTRING, sizeof(settingPassword), (LPARAM)settingPassword);
if(!db_get_s(NULL, PLUGINNAME, "LNCommand", &dbv, DBVT_ASCIIZ))
strncpy_s(settingCommand, _countof(settingCommand), dbv.pszVal, SIZEOF(settingCommand));
db_free(&dbv);
@@ -1271,9 +1270,7 @@ INT_PTR CALLBACK DlgProcLotusNotifyOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L GetDlgItemTextA(hwndDlg, IDC_SERVER, settingServer, sizeof(settingServer));
db_set_s(NULL, PLUGINNAME, "LNServer", settingServer );
db_set_s(NULL, PLUGINNAME, "LNServerSec", settingServerSec);
- CallService(MS_DB_CRYPT_ENCODESTRING, sizeof(settingPassword), (LPARAM) settingPassword);
db_set_s(NULL, PLUGINNAME, "LNPassword", settingPassword);
- CallService(MS_DB_CRYPT_DECODESTRING, sizeof(settingPassword), (LPARAM) settingPassword);
db_set_s(NULL, PLUGINNAME, "LNDatabase", settingDatabase);
db_set_dw (NULL, PLUGINNAME, "LNInterval", settingInterval);
db_set_dw (NULL, PLUGINNAME, "LNInterval1", settingInterval1);
|