aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x509ce
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/x509ce
parent0496eb5dcabb32c36084b2efb620fe6fe9a50b12 (diff)
downloadwireshark-3b770d5c7c9aa12a455d6307b762b3fca875fbf7.tar.gz
wireshark-3b770d5c7c9aa12a455d6307b762b3fca875fbf7.tar.bz2
wireshark-3b770d5c7c9aa12a455d6307b762b3fca875fbf7.zip
- 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/x509ce')
-rw-r--r--asn1/x509ce/packet-x509ce-template.c2
-rw-r--r--asn1/x509ce/x509ce.cnf5
2 files changed, 3 insertions, 4 deletions
diff --git a/asn1/x509ce/packet-x509ce-template.c b/asn1/x509ce/packet-x509ce-template.c
index 05945be10f..d5928ceba9 100644
--- a/asn1/x509ce/packet-x509ce-template.c
+++ b/asn1/x509ce/packet-x509ce-template.c
@@ -55,7 +55,7 @@ static int hf_x509ce_IPAddress = -1;
/* Initialize the subtree pointers */
#include "packet-x509ce-ett.c"
-static char object_identifier_id[BER_MAX_OID_STR_LEN];
+static const char *object_identifier_id;
#include "packet-x509ce-fn.c"
diff --git a/asn1/x509ce/x509ce.cnf b/asn1/x509ce/x509ce.cnf
index a547e1876c..edce713b94 100644
--- a/asn1/x509ce/x509ce.cnf
+++ b/asn1/x509ce/x509ce.cnf
@@ -104,9 +104,8 @@ CRLReferral/issuer crlr_issuer
CertificatePairExactAssertion/issuedToThisCAAssertion cpea_issuedToThisCAAssertion
CertificatePairExactAssertion/issuedByThisCAAssertion cpea_issuedByThisCAAssertion
-#.FN_BODY PolicyQualifierId
- offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
- hf_x509ce_object_identifier_id, object_identifier_id);
+#.FN_PARS PolicyQualifierId
+ FN_VARIANT = _str HF_INDEX = hf_x509ce_object_identifier_id VAL_PTR = &object_identifier_id
#.FN_BODY PolicyQualifierValue
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);