Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-wtls.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 15 Jun 2002 18:27:16 -0500 (CDT)
guy         2002/06/15 18:27:16 CDT

  Modified files:
    .                    packet-wtls.c 
  Log:
  The enumerated types given in the WTLS spec have values given in
  decimal, not hex; use decimal in the value_string tables for them, and
  display them in decimal, not hex.
  
  Clean up the names of the certificate types.
  
  Add a routine to add text identifiers, use that routine rather than
  doing similar things in several places in the code, and don't have that
  routine extract the string contents into a buffer and add it with
  "proto_tree_add_string()" - we can just use "proto_tree_add_item()",
  which is simpler *and* removes worries about buffer overflows.
  
  Use #defines rather than raw numerical values for identifier types in
  switch-statement case clauses.
  
  Fix a typo ("Unknow" -> "Unknown").
  
  FT_NONE and FT_STRING fields can't have a base, so make them BASE_NONE.
  
  Revision  Changes    Path
  1.19      +156 -156  ethereal/packet-wtls.c