/[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 315 by jsorg71, Sun Feb 9 01:38:07 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);          switch (server_bpp)
430            {
431                    case 8:
432                            out_uint16_le(s, 0xca01);
433                            break;
434                    case 15:
435                            out_uint16_le(s, 0xca02);
436                            break;
437                    case 16:
438                            out_uint16_le(s, 0xca03);
439                            break;
440                    case 24:
441                            out_uint16_le(s, 0xca04);
442                            break;
443            }
444          out_uint16(s, 0);          out_uint16(s, 0);
445    
446          /* Client encryption settings */          /* Client encryption settings */

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

  ViewVC Help
Powered by ViewVC 1.1.26