diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2016-03-28 21:44:31 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2016-03-28 21:44:31 +0000 |
commit | 701eda4d1a36ea2cf9fc870695ce794ebaf3107d (patch) | |
tree | 369855d5a61458ed2cdce42f6c39ebfef4e4bcf2 /protocols/AimOscar/src/client.cpp | |
parent | 6544ee462b4d22f1734f5a3f67fd3c56f67e050d (diff) |
aim:
fixed version constant's to allow to connect
changed login host to correct one
todo: find out which encryption is used now (old ssl does not work anymore, i suppouse it's tls, but need to be checked)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/client.cpp')
-rwxr-xr-x[-rw-r--r--] | protocols/AimOscar/src/client.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/client.cpp b/protocols/AimOscar/src/client.cpp index 1718f23ef5..656b3b541c 100644..100755 --- a/protocols/AimOscar/src/client.cpp +++ b/protocols/AimOscar/src/client.cpp @@ -63,11 +63,13 @@ int CAimProto::aim_auth_request(HANDLE hServerConn, unsigned short &seqno, const aim_writetlv(0x25, MD5_HASH_LENGTH, (char*)auth_hash, offset, buf);
aim_writetlv(0x4C, 0, 0, offset, buf);//signifies new password hash instead of old method
aim_writetlv(0x03, (unsigned short)client_id_len, client_id, offset, buf);
+
+ aim_writetlvshort(0x16, AIM_CLIENT_ID_NUMBER, offset, buf); //in pidgin it's first
aim_writetlvshort(0x17, AIM_CLIENT_MAJOR_VERSION, offset, buf);
aim_writetlvshort(0x18, AIM_CLIENT_MINOR_VERSION, offset, buf);
aim_writetlvshort(0x19, AIM_CLIENT_LESSER_VERSION, offset, buf);
aim_writetlvshort(0x1A, AIM_CLIENT_BUILD_NUMBER, offset, buf);
- aim_writetlvshort(0x16, AIM_CLIENT_ID_NUMBER, offset, buf);
+ //aim_writetlvshort(0x16, AIM_CLIENT_ID_NUMBER, offset, buf);
aim_writetlvlong(0x14, AIM_CLIENT_DISTRIBUTION_NUMBER, offset, buf);
aim_writetlv(0x0F, (unsigned short)mir_strlen(language), language, offset, buf);
aim_writetlv(0x0E, (unsigned short)mir_strlen(country), country, offset, buf);
|