On Sun, Mar 20, 2005, Eric Alata wrote: > Hi, > > I have made the change. Now, the CHOICE looks like: > > 1 ASN1_CHOICE(G) = { > 2 ASN1_EX_TYPE(ASN1_TFLG_EXPTAG|ASN1_TFLG_APPLICATION, 0, G, > value.g_1, H_BODY), > 3 ASN1_EX_TYPE(ASN1_TFLG_EXPTAG|ASN1_TFLG_APPLICATION, 1, G, > value.g_2, I_BODY) > 4 } ASN1_CHOICE_END(G) > > It works fine. But, if I understand, everywhere I want to use H, I must use > the > ASN1_EX_TYPE definition?
Yes, you could use a #define if you want to use a shorter form. Although it looks complicated that ASN1_EX_TYPE macro is similar to the expansion of other macros like ASN1_EXP(): its just there isn't a convenient short form for that. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]