CVS: rdesktop secure.c,1.41,1.42

Matt Chapman <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8678

Modified Files:
	secure.c 
Log Message:
Annotate the T.124 bits.


Index: secure.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/secure.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** secure.c	17 Mar 2004 14:11:08 -0000	1.41
--- secure.c	18 Mar 2004 02:32:00 -0000	1.42
***************
*** 413,417 ****
  		hostlen = 30;
  
! 	out_uint16_be(s, 5);	/* unknown */
  	out_uint16_be(s, 0x14);
  	out_uint8(s, 0x7c);
--- 413,418 ----
  		hostlen = 30;
  
! 	/* Generic Conference Control (T.124) ConferenceCreateRequest */
! 	out_uint16_be(s, 5);
  	out_uint16_be(s, 0x14);
  	out_uint8(s, 0x7c);
***************
*** 426,430 ****
  	out_uint8(s, 0);
  
! 	out_uint32_le(s, 0x61637544);	/* "Duca", as in Ducati. */
  	out_uint16_be(s, ((length - 14) | 0x8000));	/* remaining length */
  
--- 427,431 ----
  	out_uint8(s, 0);
  
! 	out_uint32_le(s, 0x61637544);	/* OEM ID: "Duca", as in Ducati. */
  	out_uint16_be(s, ((length - 14) | 0x8000));	/* remaining length */
  
***************
*** 783,787 ****
  	uint8 len;
  
! 	in_uint8s(s, 21);	/* header (T.124 stuff, probably) */
  	in_uint8(s, len);
  	if (len & 0x80)
--- 784,788 ----
  	uint8 len;
  
! 	in_uint8s(s, 21);	/* header (T.124 ConferenceCreateResponse) */
  	in_uint8(s, len);
  	if (len & 0x80)



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.