aboutsummaryrefslogtreecommitdiffstats
path: root/packet-kerberos.c
diff options
context:
space:
mode:
authorsharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-01 20:34:20 +0000
committersharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-01 20:34:20 +0000
commit4b9e8484e439632f44d289b68e0075fa44d73d98 (patch)
tree37db18262d7b6dbb0b46d2edca9be1dd60a97bed /packet-kerberos.c
parent0d9432645843c9bbcc5f20c3f48fcf22c204993f (diff)
Fix a small segmentation fault if we get an ASN.1 parse error, and
start to work on kerberos flags etc. Also prettied up the case where the responseToken was an empty string. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7767 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-kerberos.c')
-rw-r--r--packet-kerberos.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/packet-kerberos.c b/packet-kerberos.c
index ecd6d3f5f6..8ebdd4152e 100644
--- a/packet-kerberos.c
+++ b/packet-kerberos.c
@@ -14,7 +14,7 @@
*
* http://www.ietf.org/internet-drafts/draft-ietf-krb-wg-kerberos-clarifications-03.txt
*
- * $Id: packet-kerberos.c,v 1.38 2003/04/25 21:30:42 guy Exp $
+ * $Id: packet-kerberos.c,v 1.39 2003/06/01 20:34:20 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -565,6 +565,20 @@ krb_proto_tree_add_time(proto_tree *tree, tvbuff_t *tvb, int offset,
which is all over the place in krb5 */
+/*
+ * Dissect Kerberos 5 flags, which seems to be encoded as an ASN.1
+ * bit field ... but, there is a one byte padding field (why the f***
+ * they did that I don't know ...
+ *
+ * We will use this routine to dissect several different types of flags
+ * so we will pass in the ETT value to build the flags etc
+ */
+static void
+dissect_ap_options(tvbuff_t *tvb, int offset)
+{
+
+}
+
static void
dissect_type_value_pair(ASN1_SCK *asn1p, int *inoff,
guint32 *type, int *type_len, int *type_off,