aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/IA5String.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-13 08:31:01 +0000
committerLev Walkin <vlm@lionet.info>2004-09-13 08:31:01 +0000
commit188ed2c7147f1cc09c76794c5db5b3f27c9704b3 (patch)
treeea7e4e6028c1cb6fbe6d19b4bd08b00113b56639 /skeletons/IA5String.c
parentd563d397686b3f9d78ee22ba6a2bd83d29807dd4 (diff)
inner structures tagging fix. see 0.9.5 comment in ChangeLog
Diffstat (limited to 'skeletons/IA5String.c')
-rw-r--r--skeletons/IA5String.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/skeletons/IA5String.c b/skeletons/IA5String.c
index 33f38a64..9fc308b1 100644
--- a/skeletons/IA5String.c
+++ b/skeletons/IA5String.c
@@ -8,7 +8,8 @@
* IA5String basic type description.
*/
static ber_tlv_tag_t asn1_DEF_IA5String_tags[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (22 << 2))
+ (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), /* [UNIVERSAL 22] IMPLICIT ...*/
+ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */
};
asn1_TYPE_descriptor_t asn1_DEF_IA5String = {
"IA5String",
@@ -20,6 +21,9 @@ asn1_TYPE_descriptor_t asn1_DEF_IA5String = {
0, /* Use generic outmost tag fetcher */
asn1_DEF_IA5String_tags,
sizeof(asn1_DEF_IA5String_tags)
+ / sizeof(asn1_DEF_IA5String_tags[0]) - 1,
+ asn1_DEF_IA5String_tags,
+ sizeof(asn1_DEF_IA5String_tags)
/ sizeof(asn1_DEF_IA5String_tags[0]),
-1, /* Both ways are fine */
0, 0, /* No members */