/[rdesktop]/sourceforge.net/trunk/rdesktop/rdp5.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/rdp5.c

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

revision 713 by jsorg71, Wed Jun 16 03:08:55 2004 UTC revision 733 by jsorg71, Mon Jul 5 19:09:07 2004 UTC
# Line 26  extern uint8 *g_next_packet; Line 26  extern uint8 *g_next_packet;
26  extern RDPCOMP g_mppc_dict;  extern RDPCOMP g_mppc_dict;
27    
28  void  void
29  rdp5_process(STREAM s, BOOL encryption)  rdp5_process(STREAM s)
30  {  {
31          uint16 length, count, x, y;          uint16 length, count, x, y;
32          uint8 type, ctype;          uint8 type, ctype;
# Line 36  rdp5_process(STREAM s, BOOL encryption) Line 36  rdp5_process(STREAM s, BOOL encryption)
36          struct stream *ns = &(g_mppc_dict.ns);          struct stream *ns = &(g_mppc_dict.ns);
37          struct stream *ts;          struct stream *ts;
38    
         if (encryption)  
         {  
                 in_uint8s(s, 8);        /* signature */  
                 sec_decrypt(s->p, s->end - s->p);  
         }  
   
39  #if 0  #if 0
40          printf("RDP5 data:\n");          printf("RDP5 data:\n");
41          hexdump(s->p, s->end - s->p);          hexdump(s->p, s->end - s->p);

Legend:
Removed from v.713  
changed lines
  Added in v.733

  ViewVC Help
Powered by ViewVC 1.1.26