Got colordepth > 8 bits to work again (apparently, another byte must be set in the client info

depending on the depth wanted).

I think we need to be a bit careful and check what depth the server is really giving us, or
we will have strange results sometimes.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@356 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Erik Forsberg 2003-03-28 12:55:25 +00:00
parent e1d1e03e00
commit 11adde8a0f

View File

@ -450,7 +450,9 @@ sec_out_mcs_data(STREAM s)
out_uint16(s, 1);
out_uint32(s, 0);
out_uint32_le(s, 0x070008);
out_uint8(s, server_bpp);
out_uint16_le(s, 0x0700);
out_uint8(s, 0);
out_uint32_le(s, 1);
out_uint8s(s, 64); /* End of client info */
@ -772,6 +774,9 @@ sec_recv(void)
if (sec_flags & SEC_LICENCE_NEG)
{
if (sec_flags & SEC_ENCRYPT) {
DEBUG_RDP5(("Encrypted license detected\n"));
}
licence_process(s);
continue;
}