summaryrefslogtreecommitdiff
path: root/asn1/acse/acse.cnf
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2005-11-14 10:02:31 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2005-11-14 10:02:31 +0000
commit3b770d5c7c9aa12a455d6307b762b3fca875fbf7 (patch)
treee8f6231cfc7a837d8fc9901a7a676180dce93bd1 /asn1/acse/acse.cnf
parent0496eb5dcabb32c36084b2efb620fe6fe9a50b12 (diff)
downloadwireshark-3b770d5c7c9aa12a455d6307b762b3fca875fbf7.tar.gz
- dissect_ber_object_identifier() returns value as tvb
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
Diffstat (limited to 'asn1/acse/acse.cnf')
-rw-r--r--asn1/acse/acse.cnf34
1 files changed, 18 insertions, 16 deletions
diff --git a/asn1/acse/acse.cnf b/asn1/acse/acse.cnf
index c80e625366..5a72fa3690 100644
--- a/asn1/acse/acse.cnf
+++ b/asn1/acse/acse.cnf
@@ -1,3 +1,8 @@
+# asce.cnf
+# ACSE conformation file
+
+# $Id$
+
#.MODULE_IMPORT
InformationFramework x509if
@@ -52,9 +57,8 @@ ACRQ-apdu/aSO-context-name aCRQ_aSO_context_name
offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset,
EXTERNAL_sequence, hf_index, ett_acse_EXTERNAL);
-#.FN_BODY Authentication-value-other/other-mechanism-name
- offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
- hf_index, object_identifier_id);
+#.FN_PARS Authentication-value-other/other-mechanism-name
+ FN_VARIANT = _str VAL_PTR = &object_identifier_id
#.FN_BODY Authentication-value-other/other-mechanism-value
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, top_tree);
@@ -63,20 +67,20 @@ ACRQ-apdu/aSO-context-name aCRQ_aSO_context_name
/*XXX not implemented yet */
#.FN_BODY AARQ-apdu/aSO-context-name
- offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
- hf_index, object_identifier_id);
+ offset = dissect_ber_object_identifier_str(FALSE, pinfo, tree, tvb, offset,
+ hf_index, &object_identifier_id);
#.FN_BODY AARE-apdu/aSO-context-name
- offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
- hf_index, object_identifier_id);
+ offset = dissect_ber_object_identifier_str(FALSE, pinfo, tree, tvb, offset,
+ hf_index, &object_identifier_id);
#.FN_BODY ACRQ-apdu/aSO-context-name
- offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
- hf_index, object_identifier_id);
+ offset = dissect_ber_object_identifier_str(FALSE, pinfo, tree, tvb, offset,
+ hf_index, &object_identifier_id);
#.FN_BODY ACRP-apdu/aSO-context-name
- offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
- hf_index, object_identifier_id);
+ offset = dissect_ber_object_identifier_str(FALSE, pinfo, tree, tvb, offset,
+ hf_index, &object_identifier_id);
#.FN_BODY EXTERNAL/indirect-reference
char *oid;
@@ -86,16 +90,14 @@ ACRQ-apdu/aSO-context-name aCRQ_aSO_context_name
/* look up the indirect reference */
if((oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) != NULL) {
- g_snprintf(object_identifier_id, MAX_OID_STR_LEN, "%%s", oid);
+ object_identifier_id = ep_strdup(oid);
}
if(session)
session->pres_ctx_id = indir_ref;
-#.FN_BODY EXTERNAL/direct-reference
-
- offset = dissect_ber_object_identifier(implicit_tag, pinfo, tree, tvb, offset, hf_index, object_identifier_id);
-
+#.FN_PARS EXTERNAL/direct-reference
+ FN_VARIANT = _str VAL_PTR = &object_identifier_id
#.FN_BODY EXTERNAL/encoding/single-ASN1-type
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, top_tree ? top_tree : tree);