/[rdesktop]/sourceforge.net/trunk/rdesktop/secure.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/secure.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 363 by matthewc, Wed Apr 16 08:03:59 2003 UTC revision 365 by matthewc, Wed Apr 16 08:19:15 2003 UTC
# Line 447  sec_out_mcs_data(STREAM s) Line 447  sec_out_mcs_data(STREAM s)
447                          out_uint16_le(s, 0xca04);                          out_uint16_le(s, 0xca04);
448                          break;                          break;
449          }          }
450          out_uint16(s, 1);          out_uint16_le(s, 1);
451    
452          out_uint32(s, 0);          out_uint32(s, 0);
453          out_uint8(s, server_bpp);          out_uint8(s, server_bpp);
# Line 459  sec_out_mcs_data(STREAM s) Line 459  sec_out_mcs_data(STREAM s)
459          out_uint16_le(s, SEC_TAG_CLI_4);          out_uint16_le(s, SEC_TAG_CLI_4);
460          out_uint16_le(s, 12);          out_uint16_le(s, 12);
461          out_uint32_le(s, 9);          out_uint32_le(s, 9);
462          out_uint32_le(s, 0);          out_uint32(s, 0);
463    
464          /* Client encryption settings */          /* Client encryption settings */
465          out_uint16_le(s, SEC_TAG_CLI_CRYPT);          out_uint16_le(s, SEC_TAG_CLI_CRYPT);
466          out_uint16_le(s, 12);   /* length */          out_uint16_le(s, 12);   /* length */
467          out_uint32_le(s, encryption ? 0x3 : 0); /* encryption supported, 128-bit supported */          out_uint32_le(s, encryption ? 0x3 : 0); /* encryption supported, 128-bit supported */
468          out_uint32_le(s, 0);    /* Unknown */          out_uint32(s, 0);       /* Unknown */
469    
470          out_uint16_le(s, SEC_TAG_CLI_CHANNELS);          out_uint16_le(s, SEC_TAG_CLI_CHANNELS);
471          out_uint16_le(s, 20);   /* length */          out_uint16_le(s, 20);   /* length */

Legend:
Removed from v.363  
changed lines
  Added in v.365

  ViewVC Help
Powered by ViewVC 1.1.26