Hello, 

After figuring out the size of the buffer needed to convert the internal
structure 
into DER, the function allocates that size + 10 : 

b=(unsigned char *)OPENSSL_malloc((unsigned int)i+10);

Is there any particular reason why 10 is added to the size ?

Thanks, 

Max Karolinskiy

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to