Ethereal-dev: Re: [Ethereal-dev] Updates for WTLS

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 15 Feb 2001 11:52:23 -0800 (PST)
> Some updates for WTLS using the new packet-wtls.c code. Show sizes of
> keys and some other informations in higher folders.

Your "diff" appears to be a "diff" against code other than what's in the
CVS tree, as at least one of the changes in there doesn't apply.  This
change:

***************
*** 537,543 ****
  			offset+=2;
  			for (;count > 0;count-=client_size) {
  				value = tvb_get_guint8 (tvb, offset);
! 				cli_key_item = proto_tree_add_uint(wtls_msg_type_item_sub_tree, 
  						hf_wtls_hands_cli_hello_key_exchange, tvb, offset,1,
  						value);
  				client_size=1;
--- 538,544 ----
  			offset+=2;
  			for (;count > 0;count-=client_size) {
  				value = tvb_get_guint8 (tvb, offset);
! 				cli_key_item = proto_tree_add_item(wtls_msg_type_item_sub_tree, 
  						hf_wtls_hands_cli_hello_key_exchange, tvb, offset,1,
  						value);
  				client_size=1;

was changing a line that *already* called "proto_tree_add_item()".

I ignored that particular change, and just checked the code in that
resulted from the rest of the patch.