summaryrefslogtreecommitdiff
path: root/asn1
diff options
context:
space:
mode:
Diffstat (limited to 'asn1')
-rw-r--r--asn1/dop/packet-dop-template.c4
-rw-r--r--asn1/x411/packet-x411-template.c2
-rw-r--r--asn1/x411/x411.cnf6
3 files changed, 6 insertions, 6 deletions
diff --git a/asn1/dop/packet-dop-template.c b/asn1/dop/packet-dop-template.c
index 6b371a3c16..72a9b11768 100644
--- a/asn1/dop/packet-dop-template.c
+++ b/asn1/dop/packet-dop-template.c
@@ -77,9 +77,9 @@ static gint ett_dop = -1;
static int
call_dop_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *col_info)
{
- char binding_param[BER_MAX_OID_STR_LEN];
+ char binding_param[MAX_OID_STR_LEN];
- g_snprintf(binding_param, BER_MAX_OID_STR_LEN, "%s.%s", base_oid, binding_type ? binding_type : "");
+ g_snprintf(binding_param, MAX_OID_STR_LEN, "%s.%s", base_oid, binding_type ? binding_type : "");
if (col_info && (check_col(pinfo->cinfo, COL_INFO)))
col_append_fstr(pinfo->cinfo, COL_INFO, " %s", col_info);
diff --git a/asn1/x411/packet-x411-template.c b/asn1/x411/packet-x411-template.c
index ce92684fea..a21c95bb96 100644
--- a/asn1/x411/packet-x411-template.c
+++ b/asn1/x411/packet-x411-template.c
@@ -82,7 +82,7 @@ static int
call_x411_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
const char *name = NULL;
- char extension_oid[BER_MAX_OID_STR_LEN];
+ char extension_oid[MAX_OID_STR_LEN];
sprintf(extension_oid, "%s.%d", base_oid, extension_id);
diff --git a/asn1/x411/x411.cnf b/asn1/x411/x411.cnf
index 19a636c093..e11d91bd73 100644
--- a/asn1/x411/x411.cnf
+++ b/asn1/x411/x411.cnf
@@ -219,7 +219,7 @@ ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses"
#.FN_BODY AdditionalInformation
/*XXX not implemented yet */
-#.FN_BODY T_extensions_item
+#.FN_BODY RegistrationTypes/extensions/_item
/*XXX not implemented yet */
#.FN_BODY ExtensionValue
@@ -238,11 +238,11 @@ ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses"
offset = dissect_unknown_ber(pinfo, tvb, offset, tree);
-#.FN_BODY T_extension_attribute_value
+#.FN_BODY ExtensionAttribute/extension-attribute-value
offset=call_x411_oid_callback("x411.extension-attribute", tvb, offset, pinfo, tree);
-#.FN_BODY T_refused_extension
+#.FN_BODY RefusedOperation/refused-argument/refused-extension
/*XXX not implemented yet */
#.FN_BODY CountryName