aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/spnego
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-07-01 00:44:21 +0000
committerGerald Combs <gerald@wireshark.org>2010-07-01 00:44:21 +0000
commit622f07b95e03f68af59ec0a9a21ca68f10160817 (patch)
tree8f532681ebeeecd276976bd5b8d8c67a5ff24d6d /asn1/spnego
parentb0b7697dea7da93a261d6eeb8bf7562a4884bc5a (diff)
downloadwireshark-622f07b95e03f68af59ec0a9a21ca68f10160817.tar.gz
wireshark-622f07b95e03f68af59ec0a9a21ca68f10160817.tar.bz2
wireshark-622f07b95e03f68af59ec0a9a21ca68f10160817.zip
Initialize MechType_oid in the right place.
svn path=/trunk/; revision=33396
Diffstat (limited to 'asn1/spnego')
-rw-r--r--asn1/spnego/packet-spnego-template.c2
-rw-r--r--asn1/spnego/spnego.cnf2
2 files changed, 1 insertions, 3 deletions
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c
index 1ed16f9fb1..098893c30b 100644
--- a/asn1/spnego/packet-spnego-template.c
+++ b/asn1/spnego/packet-spnego-template.c
@@ -1239,7 +1239,7 @@ dissect_spnego_wrap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
-
+ MechType_oid = NULL;
/*
* We need this later, so lets get it now ...
diff --git a/asn1/spnego/spnego.cnf b/asn1/spnego/spnego.cnf
index 137493e675..1da039c96a 100644
--- a/asn1/spnego/spnego.cnf
+++ b/asn1/spnego/spnego.cnf
@@ -23,8 +23,6 @@ NegTokenInit/mechListMIC negTokenInit_mechListMIC
gssapi_oid_value *value;
- MechType_oid = NULL;
-
%(DEFAULT_BODY)s
value = gssapi_lookup_oid_str(MechType_oid);