diff options
author | dartraiden <wowemuh@gmail.com> | 2017-11-15 15:03:12 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2017-11-15 15:03:12 +0300 |
commit | fb507efc93b324dd3efa10e96106f4c19274aba5 (patch) | |
tree | 8e0c8ca7c0eb6d4ac6c2aa212dfcba21f0443090 /protocols/IcqOscarJ | |
parent | 11ed6f5a89abfba04a68e4447b21c4c6d2752588 (diff) |
max pass = 16 (https://icq.com/change-password/ru)
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_constants.h | 2 | ||||
-rw-r--r-- | protocols/IcqOscarJ/src/icq_opts.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icq_constants.h b/protocols/IcqOscarJ/src/icq_constants.h index d8c1072282..c1af3d7916 100644 --- a/protocols/IcqOscarJ/src/icq_constants.h +++ b/protocols/IcqOscarJ/src/icq_constants.h @@ -631,7 +631,7 @@ #define CLIENT_MD5_STRING "AOL Instant Messenger (SM)"
#define UNIQUEIDSETTING "UIN"
#define UINMAXLEN 11 // DWORD string max len + 1
-#define PASSWORDMAXLEN 14
+#define PASSWORDMAXLEN 16
#define OSCAR_PROXY_HOST "ars.icq.com"
#define OSCAR_PROXY_VERSION 0x044A
diff --git a/protocols/IcqOscarJ/src/icq_opts.cpp b/protocols/IcqOscarJ/src/icq_opts.cpp index 791145180a..9fe0fa3ada 100644 --- a/protocols/IcqOscarJ/src/icq_opts.cpp +++ b/protocols/IcqOscarJ/src/icq_opts.cpp @@ -72,7 +72,7 @@ static INT_PTR CALLBACK DlgProcIcqOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP else // keep it empty when no UIN entered
SetDlgItemTextA(hwndDlg, IDC_ICQNUM, "");
- SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_LIMITTEXT, 14, 0);
+ SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_LIMITTEXT, 16, 0);
// bit of a security hole here, since it's easy to extract a password from an edit box
char pszPwd[PASSWORDMAXLEN+1];
|