Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal Makefile.am asn1.c asn1.h packet-kerberos.c
guy 2000/12/24 03:10:13 CST
Modified files:
. Makefile.am asn1.c asn1.h
packet-kerberos.c packet-ldap.c
packet-snmp.c
Removed files:
. packet-kerberos.h
Log:
Rename "asn1_octet_string_value_decode()" to
"asn1_string_value_decode()", as it can be used for various character
string types as well.
Turn "asn1_octet_string_decode()" into "asn1_string_decode()", which
takes an additional argument giving the tag expected for the string in
question, and make "asn1_octet_string_decode()" a wrapper around it.
Clean up the ASN.1 dissection in the Kerberos dissector, making more use
of the code in "asn1.c", wrapping more operations up in macros, and
doing some more type checking.
Use "REP" rather than "RESP" in names and strings; "REP" is what the
Kerberos spec uses.
Make the routines in the Kerberos dissector not used outside that
dissector static.
Fix some problems with the dissection of strings in the Kerberos
dissector (it was extracting the data from the wrong place in the
packet).
In Kerberos V5, the "kvno" item in the EncryptedData type is optional;
treat it as such.
Treat integers as unsigned in the Kerberos dissector.
Revision Changes Path
1.262 +1 -2 ethereal/Makefile.am
1.6 +44 -16 ethereal/asn1.c
1.4 +4 -2 ethereal/asn1.h
1.8 +649 -358 ethereal/packet-kerberos.c
1.18 +5 -4 ethereal/packet-ldap.c
1.54 +3 -3 ethereal/packet-snmp.c