aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x411/x411.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/x411/x411.cnf
parent0496eb5dcabb32c36084b2efb620fe6fe9a50b12 (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/x411/x411.cnf')
-rw-r--r--asn1/x411/x411.cnf6
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/x411/x411.cnf b/asn1/x411/x411.cnf
index 2260d5fd73..72cdef65c7 100644
--- a/asn1/x411/x411.cnf
+++ b/asn1/x411/x411.cnf
@@ -263,7 +263,7 @@ UniversalOrganizationalUnitNames B "x411.extension-attribute.27" "universal-orga
VAL_PTR = &extension_id
#.FN_PARS ExtendedContentType
- VAL_PTR = object_identifier_id
+ FN_VARIANT = _str VAL_PTR = &object_identifier_id
#.FN_PARS BuiltInContentType
VAL_PTR = &ict
@@ -276,10 +276,10 @@ UniversalOrganizationalUnitNames B "x411.extension-attribute.27" "universal-orga
/* convert integer content type to oid for dispatch when the content is found */
switch(ict) {
case 2:
- g_snprintf(object_identifier_id, BER_MAX_OID_STR_LEN, "2.6.1.10.0");
+ object_identifier_id = ep_strdup("2.6.1.10.0");
break;
case 22:
- g_snprintf(object_identifier_id, BER_MAX_OID_STR_LEN, "2.6.1.10.1");
+ object_identifier_id = ep_strdup("2.6.1.10.1");
break;
default:
break;