aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2007-11-19 07:26:10 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2007-11-19 07:26:10 +0000
commitf5b14b2f894a99c0a26d37bf0885d8bca6930158 (patch)
tree4c81c9234e3083e2d08ddddd242345999cbd365d
parent77e69e06e193df47ef99cc1cf24dd305c2395ba2 (diff)
downloadwireshark-f5b14b2f894a99c0a26d37bf0885d8bca6930158.tar.gz
wireshark-f5b14b2f894a99c0a26d37bf0885d8bca6930158.tar.bz2
wireshark-f5b14b2f894a99c0a26d37bf0885d8bca6930158.zip
Initialize credentials.
svn path=/trunk/; revision=23490
-rw-r--r--asn1/x411/x411.cnf2
-rw-r--r--epan/dissectors/packet-x411.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/x411/x411.cnf b/asn1/x411/x411.cnf
index b46b356993..30b6a6f747 100644
--- a/asn1/x411/x411.cnf
+++ b/asn1/x411/x411.cnf
@@ -809,7 +809,7 @@ AddrTeletexString TeletexPersonalName/surname TeletexPersonalName/given-name Tel
VAL_PTR = &credentials
#.FN_BODY Credentials
- gint credentials;
+ gint credentials = -1;
%(DEFAULT_BODY)s
diff --git a/epan/dissectors/packet-x411.c b/epan/dissectors/packet-x411.c
index 3bab34f563..169356e06f 100644
--- a/epan/dissectors/packet-x411.c
+++ b/epan/dissectors/packet-x411.c
@@ -995,7 +995,7 @@ static const ber_choice_t Credentials_choice[] = {
int
dissect_x411_Credentials(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 812 "x411.cnf"
- gint credentials;
+ gint credentials = -1;
offset = dissect_ber_choice(actx, tree, tvb, offset,
Credentials_choice, hf_index, ett_x411_Credentials,