On Sat, Oct 12, 2002, Kumar, Mayank wrote: > Hi Stephen, > > For my OCSP implementation, I've taken the new OCSP components from > 0.9.7-beta3 and have integrated it with 0.9.6.2. Have not tested it but I > anticipate number of problems due to incorrect ASN encoding/decoding, mainly > due to some of the attributes being EXPLICIT, IMPLICIT, OPTIONAL and CHOICE > etc. > > Porting macros like ASN_SEQUENCE etc in 0.9.6.2 also doesn't seem to be > easy. Can you suggest me some reading material or some guidelines for > correct ASN encoding/decoding in 0.9.6.2 release? >
You don't just have to port the macros you have to port almost all the ASN1 changes which are in asn1t.h and tasn_*.c followed by just about every new ASN1 module. It would be easier to convert the new OCSP ASN1 module to 0.9.6 format however that too is a lot of work. There isn't much documentation on that though. One possibility is to take the old ASN1 code from the OCSP patch and try to adapt that. Steve. -- Dr. Stephen Henson [EMAIL PROTECTED] OpenSSL Project http://www.openssl.org/~steve/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]