/[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 295 by matthewc, Tue Jan 28 11:36:02 2003 UTC revision 309 by jsorg71, Tue Feb 4 05:32:13 2003 UTC
# Line 38  extern int height; Line 38  extern int height;
38  extern int keylayout;  extern int keylayout;
39  extern BOOL encryption;  extern BOOL encryption;
40  extern BOOL licence_issued;  extern BOOL licence_issued;
41    extern int server_bpp;
42    
43  static int rc4_key_len;  static int rc4_key_len;
44  static RC4_KEY rc4_decrypt_key;  static RC4_KEY rc4_decrypt_key;
# Line 425  sec_out_mcs_data(STREAM s) Line 426  sec_out_mcs_data(STREAM s)
426          out_uint32_le(s, 12);          out_uint32_le(s, 12);
427          out_uint8s(s, 64);      /* reserved? 4 + 12 doublewords */          out_uint8s(s, 64);      /* reserved? 4 + 12 doublewords */
428    
429          out_uint16_le(s, 0xca01);          if (server_bpp == 16)
430            {
431                    out_uint16_le(s, 0xca03); /* 16 bit */
432            }
433            else
434            {
435                    out_uint16_le(s, 0xca01); /* 8 bit */
436            }
437          out_uint16(s, 0);          out_uint16(s, 0);
438    
439          /* Client encryption settings */          /* Client encryption settings */

Legend:
Removed from v.295  
changed lines
  Added in v.309

  ViewVC Help
Powered by ViewVC 1.1.26