aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x420.c
diff options
context:
space:
mode:
authorkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-14 10:02:31 +0000
committerkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-14 10:02:31 +0000
commit167ac032bf154aa961046acda1a4c950a92f8bf6 (patch)
treee8f6231cfc7a837d8fc9901a7a676180dce93bd1 /epan/dissectors/packet-x420.c
parent90aab32112f01b232484bc9f84329a3d3de49d89 (diff)
- dissect_ber_object_identifier() returns value as tvb
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16501 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-x420.c')
-rw-r--r--epan/dissectors/packet-x420.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-x420.c b/epan/dissectors/packet-x420.c
index f711388dc6..d786dbe90f 100644
--- a/epan/dissectors/packet-x420.c
+++ b/epan/dissectors/packet-x420.c
@@ -57,7 +57,7 @@
/* Initialize the protocol and registered fields */
int proto_x420 = -1;
-static char object_identifier_id[BER_MAX_OID_STR_LEN]; /* content type identifier */
+static const char *object_identifier_id; /* content type identifier */
/*--- Included file: packet-x420-hf.c ---*/
@@ -487,7 +487,7 @@ static int
dissect_x420_T_type(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
char *name = NULL;
- offset = dissect_ber_object_identifier(implicit_tag, pinfo, tree, tvb, offset, hf_index, object_identifier_id);
+ offset = dissect_ber_object_identifier_str(implicit_tag, pinfo, tree, tvb, offset, hf_index, &object_identifier_id);
name = get_ber_oid_name(object_identifier_id);