- dissect_ber_object_identifier() returns value as tvb
[obnox/wireshark/wip.git] / asn1 / x411 / x411.cnf
index 2260d5fd739bfe1b95a1eb531cf65f9b7a6563eb..72cdef65c7ab3f105a7cb7081ccdaa04e8bd7d6d 100644 (file)
@@ -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;