diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-11-14 10:02:31 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-11-14 10:02:31 +0000 |
commit | 3b770d5c7c9aa12a455d6307b762b3fca875fbf7 (patch) | |
tree | e8f6231cfc7a837d8fc9901a7a676180dce93bd1 /asn1/pkixcmp | |
parent | 0496eb5dcabb32c36084b2efb620fe6fe9a50b12 (diff) |
- 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/pkixcmp')
-rw-r--r-- | asn1/pkixcmp/cmp.cnf | 5 | ||||
-rw-r--r-- | asn1/pkixcmp/packet-cmp-template.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/asn1/pkixcmp/cmp.cnf b/asn1/pkixcmp/cmp.cnf index b6360cea6a..66798b85bf 100644 --- a/asn1/pkixcmp/cmp.cnf +++ b/asn1/pkixcmp/cmp.cnf @@ -59,9 +59,8 @@ RevReqContent #.FIELD_RENAME -#.FN_BODY InfoTypeAndValue/infoType - offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset, - hf_cmp_type_oid, object_identifier_id); +#.FN_PARS InfoTypeAndValue/infoType + FN_VARIANT = _str HF_INDEX = hf_cmp_type_oid VAL_PTR = &object_identifier_id #.FN_BODY InfoTypeAndValue/infoValue offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree); diff --git a/asn1/pkixcmp/packet-cmp-template.c b/asn1/pkixcmp/packet-cmp-template.c index 4ee367dbc7..3e76384102 100644 --- a/asn1/pkixcmp/packet-cmp-template.c +++ b/asn1/pkixcmp/packet-cmp-template.c @@ -66,7 +66,7 @@ static int hf_cmp_ttcb = -1; static gint ett_cmp = -1; #include "packet-cmp-ett.c" -static char object_identifier_id[BER_MAX_OID_STR_LEN]; +static const char *object_identifier_id; #include "packet-cmp-fn.c" |