Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-kerberos.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: Sun, 8 Sep 2002 17:41:24 -0500 (CDT)
guy         2002/09/08 17:41:24 CDT

  Modified files:
    .                    packet-kerberos.c 
  Log:
  KRB_DECODE_STRING_OR_DIE, and variants thereof, set "val_len" to the
  length of the string value and "item_len" to the length of the entire
  BER item, including the type header.  As such, "val_len", not
  "item_len", should be used when formatting the value, and "item_len",
  not "val_len", should be used as the length when putting the item into
  the protocol tree and when advancing the offset.
  
  The kvno in an encryptedData item is unsigned; display it as such.
  
  Revision  Changes    Path
  1.34      +8 -8      ethereal/packet-kerberos.c