It seems to me that 

SMIMEEncryptionKeyPreference ::= CHOICE {
   issuerAndSerialNumber   [0] IssuerAndSerialNumber,
   receipentKeyId          [1] RecipientKeyIdentifier,
   subjectAltKeyIdentifier [2] SubjectKeyIdentifier
}

is not supported since d2i_ASN1_TYPE doesn't support context tags. 

I haven't tried whether the default processing in d2i_ASN1_TYPE
should simply do the same as for sets or sequences. That's for
tomorrow.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to