On Wed, Feb 26, 2014 at 9:20 AM, d_bulavski <[email protected]> wrote: > Package: libtasn1 > Version: 3.4 > asn1_der_decoding() fails to process DER-encoded data for ASN.1 syntax > with CHOICE inside CHOICE. > > Syntax example from RFC 5055. > PKCReference ::= CHOICE { > cert [0] Certificate, > pkcRef [1] SCVPCertID } > > ACReference ::= CHOICE { > attrCert [2] AttributeCertificate, > acRef [3] SCVPCertID } > > CertReference::= CHOICE { > pkc PKCReference, > ac ACReference } > > asn1_der_decoding() returns ASN1_DER_ERROR for DER data encoded > with asn1_der_coding().
Hello, It would really speed things up if you could send a small program (with the DER data in question) that reproduces the issue. Are the DER data encoded right? regards, Nikos
