Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-gssapi.c packet-gssapi.h packet-ntlms

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, 7 Sep 2002 20:43:45 -0500 (CDT)
guy         2002/09/07 20:43:45 CDT

  Modified files:
    .                    packet-gssapi.c packet-gssapi.h 
                         packet-ntlmssp.c packet-spnego.c 
  Log:
  Add a "gssapi_lookup_oid()" that takes a binary OID (pointer and length)
  as an argument, and looks up that OID in the GSSAPI OID hash table.
  
  Always use that routine to look up OIDs, so that we never use the result
  of "format_oid()" as the key (as that doesn't necessarily work).
  
  Make "gssapi_oids" static, as one should only look up GSSAPI
  authentication mechanism OIDs with "gssapi_lookup_oid()".
  
  In the SPNEGO dissector, free up the OID strings when we're done with
  them, and don't advance the offset past the OID until after we put the
  OID into the protocol tree.
  
  Revision  Changes    Path
  1.19      +35 -21    ethereal/packet-gssapi.c
  1.7       +4 -5      ethereal/packet-gssapi.h
  1.17      +2 -1      ethereal/packet-ntlmssp.c
  1.32      +14 -22    ethereal/packet-spnego.c