On Sat, Mar 19, 2005, Eric Alata wrote:
> Thank you Stephen for your reply.
>
> As expected in your answer, I have used
> ASN1_DECLARE_ITEM(TA) just before
> ASN1_CHOICE(TA). Now, it compiles.
>
> I believe to understant why this structure
> is ambiguous. Only, I need this field f2.
> If I write
Thank you Stephen for your reply.
As expected in your answer, I have used
ASN1_DECLARE_ITEM(TA) just before
ASN1_CHOICE(TA). Now, it compiles.
I believe to understant why this structure
is ambiguous. Only, I need this field f2.
If I write:
TA ::= CHOICE {
f1 SET OF TA,
f2 [10] TA,
f3 INTEG
On Fri, Mar 18, 2005, Eric Alata wrote:
> Hello,
>
> I would like to use openssl/asn1 with these types:
>
> TA ::= CHOICE {
> f1 SET OF TA,
> f2 TA,
> f3 INTEGER
> }
>
> TB ::= SEQUENCE {
> f1 INTEGER,
> f2 CHOICE {
> f2_1 INTEGER,
> f2_2 BOOLEAN
> }
> }
>
> I have two prob
On Fri, Mar 18, 2005, Eric Alata wrote:
> Hello,
>
> I would like to use openssl/asn1 with these types:
>
> TA ::= CHOICE {
> f1 SET OF TA,
> f2 TA,
> f3 INTEGER
> }
>
That's ambiguous so nothing can handle it. If you delete the f2 option you
would be OK.
Steve.
--
Dr Stephen N. Henson.