jolly has uploaded this change for review.
V1.2: Change tag of eimIdType in EimIdInfo
Reference: SGP.23 Section 2.11.2.1
Related: SYS#8101
Change-Id: Id96353ef74ffe51aa7de4848832f32e8f58ab4df
---
M asn1/SGP32Definitions.asn
M src/ipa/libasn/EimIdInfo.c
2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/65/43065/1
diff --git a/asn1/SGP32Definitions.asn b/asn1/SGP32Definitions.asn
index cb01e11..986defd 100644
--- a/asn1/SGP32Definitions.asn
+++ b/asn1/SGP32Definitions.asn
@@ -299,7 +299,7 @@
}
EimIdInfo ::= SEQUENCE {
eimId [0] UTF8String (SIZE(1..128)),
- eimIdType [4] EimIdType OPTIONAL -- present in case of eimIdTypeOid and eimIdTypeFqdn
+ eimIdType [2] EimIdType OPTIONAL -- present in case of eimIdTypeOid and eimIdTypeFqdn
}
-- ASN1STOP
diff --git a/src/ipa/libasn/EimIdInfo.c b/src/ipa/libasn/EimIdInfo.c
index 9dc4d68..3ef299c 100644
--- a/src/ipa/libasn/EimIdInfo.c
+++ b/src/ipa/libasn/EimIdInfo.c
@@ -58,7 +58,7 @@
"eimId"
},
{ ATF_POINTER, 1, offsetof(struct EimIdInfo, eimIdType),
- (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
+ (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_EimIdType,
0,
@@ -73,7 +73,7 @@
};
static const asn_TYPE_tag2member_t asn_MAP_EimIdInfo_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eimId */
- { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* eimIdType */
+ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 } /* eimIdType */
};
asn_SEQUENCE_specifics_t asn_SPC_EimIdInfo_specs_1 = {
sizeof(struct EimIdInfo),
To view, visit change 43065. To unsubscribe, or for help writing mail filters, visit settings.