Antonio Ruiz Martínez wrote:
> 
> Hello!
>     I've got the next code like the x_val.c, and but when I introduce
> the sequence in the asn.1 type I get an error.
> What's the problem?
> 

If you want to use a SEQUENCE in an ASN1_TYPE structure then you first
need to store the encoding of the SEQUENCE in an ASN1_STRING structure
and the pass the ASN1_STRING to ASN1_TYPE_set().

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to