aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-01-04 16:21:07 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-01-04 16:21:07 +0000
commit9553a238693aebd771610e0790f8a308aea57430 (patch)
tree9db96ec51c3524862d1f1e437665d5ffdaf77601 /asn1
parent078165f8cb11996bec832f4998a809db704f0178 (diff)
Get rid of dissect_ber_boolean_value() and change the signature of
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24015 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1')
-rw-r--r--asn1/h248/packet-h248-template.c2
-rw-r--r--asn1/ldap/ldap.cnf2
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c
index 1330ced240..a94667c08b 100644
--- a/asn1/h248/packet-h248-template.c
+++ b/asn1/h248/packet-h248-template.c
@@ -534,7 +534,7 @@ extern void h248_param_ber_octetstring(proto_tree* tree, tvbuff_t* tvb, packet_i
extern void h248_param_ber_boolean(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, int hfid, h248_curr_info_t* u _U_, void* implicit) {
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
- dissect_ber_boolean(implicit ? *((gboolean*)implicit) : FALSE, &asn1_ctx, tree, tvb, 0, hfid);
+ dissect_ber_boolean(implicit ? *((gboolean*)implicit) : FALSE, &asn1_ctx, tree, tvb, 0, hfid, NULL);
}
extern void h248_param_item(proto_tree* tree,
diff --git a/asn1/ldap/ldap.cnf b/asn1/ldap/ldap.cnf
index ce0e520590..d7aa23da82 100644
--- a/asn1/ldap/ldap.cnf
+++ b/asn1/ldap/ldap.cnf
@@ -565,7 +565,7 @@ ldap_conv_info_t *ldap_info;
#.FN_BODY MatchingRuleAssertion/dnAttributes
gboolean val;
-offset = dissect_ber_boolean_value(implicit_tag, actx, tree, tvb, offset, hf_index, &val);
+offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, &val);
matching_rule_dnattr = val;