diff --git a/lib/asn1/canthandle.asn1 b/lib/asn1/canthandle.asn1 index abb83de2f..0a2ff4894 100644 --- a/lib/asn1/canthandle.asn1 +++ b/lib/asn1/canthandle.asn1 @@ -2,17 +2,21 @@ CANTHANDLE DEFINITIONS ::= BEGIN --- Don't code the tag [0] as a constructed tag for foo.kaka1, --- it should be PRIM (and no type field) --- Workaround is to use heim_any and decode type +-- Code the tag [1] but not the [ CONTEXT CONS UT_Sequence ] for Kaka2 +-- Workaround is to use heim_any, add the wrapping tag and decode type +-- Code the tag [2] but it should be primitive since KAKA3 is +-- Workaround: use the INTEGER type directly -Kaka ::= SEQUENCE { - kaka3 [0] INTEGER +Kaka2 ::= SEQUENCE { + kaka2-1 [0] INTEGER } +Kaka3 ::= INTEGER + Foo ::= SEQUENCE { kaka1 [0] IMPLICIT INTEGER OPTIONAL, - kaka2 [1] IMPLICIT Kaka OPTIONAL + kaka2 [1] IMPLICIT Kaka2 OPTIONAL, + kaka3 [2] IMPLICIT Kaka3 OPTIONAL } -- Don't code kaka if its 1