Hi, I'm currently writing a new v3 extension, and I noticed something odd, when my d2i function is being called by d2i_ASN1_SET, I always receive the initial size of the pp buffer, it's never decremented, so I checked the code for the d2i_ASN1_SET function and I noticed that my function is being called this way: func(NULL,&c.p,c.slen,c.max-c.p)
As you can see there is a fourth parameter whereas the d2i function are declared as follow: TYPE * d2i_TYPE(TYPE **a, unsigned char **pp,long length) When my function, is called for the last element of my sequence, I get an ERR_R_ASN1_LENGTH_MISMATCH error, could it be coming from the fact that length is always the same value? Thanks. Fr�d�ric GIUDICELLI. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
