From 701eda4d1a36ea2cf9fc870695ce794ebaf3107d Mon Sep 17 00:00:00 2001 From: Alexander Gluzsky Date: Mon, 28 Mar 2016 21:44:31 +0000 Subject: 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 --- protocols/AimOscar/src/client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 protocols/AimOscar/src/client.cpp (limited to 'protocols/AimOscar/src/client.cpp') diff --git a/protocols/AimOscar/src/client.cpp b/protocols/AimOscar/src/client.cpp old mode 100644 new mode 100755 index 1718f23ef5..656b3b541c --- 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); -- cgit v1.2.3