diff options
author | Richard Sharpe <sharpe@ns.aus.com> | 2002-08-29 17:58:22 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@ns.aus.com> | 2002-08-29 17:58:22 +0000 |
commit | ab3cf9bc61e0d023a3425fbb26eb7af5cd541a3c (patch) | |
tree | 6a8e2eb1b43882c83c6e66ee62127cafe64d870d /packet-gssapi.c | |
parent | 3098546c9504d42f4066848672bde05a8ff908cf (diff) | |
download | wireshark-ab3cf9bc61e0d023a3425fbb26eb7af5cd541a3c.tar.gz |
OK, we now dissect the innerContextToken properly, and SPNEGO understands a
negTokenTarg, there is just more work to do on this.
svn path=/trunk/; revision=6127
Diffstat (limited to 'packet-gssapi.c')
-rw-r--r-- | packet-gssapi.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packet-gssapi.c b/packet-gssapi.c index 0c709acccc..e46de4738f 100644 --- a/packet-gssapi.c +++ b/packet-gssapi.c @@ -2,7 +2,7 @@ * Dissector for GSS-API tokens as described in rfc2078, section 3.1 * Copyright 2002, Tim Potter <tpot@samba.org> * - * $Id: packet-gssapi.c,v 1.10 2002/08/29 17:20:31 sharpe Exp $ + * $Id: packet-gssapi.c,v 1.11 2002/08/29 17:58:22 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -175,7 +175,11 @@ dissect_gssapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { tvbuff_t *oid_tvb; - offset = hnd.offset; + /* Naughty ... no way to reset the offset */ + /* Account for the fact we have consumed part if the ASN.1 */ + /* and we want to get it back */ + + hnd.offset = offset; oid_tvb = tvb_new_subset(tvb, offset, -1, -1); call_dissector(handle, oid_tvb, pinfo, subtree); } |