license_send_request, static stream length was 120 + dynamic data, should be 128 + dynamic data

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@59 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Jay Sorg 2002-07-14 04:29:21 +00:00
parent ea416fdd13
commit 68ee90117c

View File

@ -7,7 +7,7 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -103,7 +103,7 @@ licence_send_request(uint8 *client_random, uint8 *rsa_data,
uint32 sec_flags = SEC_LICENCE_NEG;
uint16 userlen = strlen(user) + 1;
uint16 hostlen = strlen(host) + 1;
uint16 length = 120 + userlen + hostlen;
uint16 length = 128 + userlen + hostlen;
STREAM s;
s = sec_init(sec_flags, length + 2);