Re: Compile error on Win32 using i2d_ASN1_SET_OF_X509_EXTENSION call

2005-02-10 Thread Oily Pakora
Dr Henson, The function pointer cast did the trick. All I did was add "(int (*)())" in front of the i2d_X509_EXTENSION. I owe you a beer next time you are in San Francisco - let me know if you are coming to the RSA conference next week... Oily --- "Dr. Stephen Henson" <[EMAIL PROTECTED]> wro

Re: Compile error on Win32 using i2d_ASN1_SET_OF_X509_EXTENSION call

2005-02-10 Thread Dr. Stephen Henson
On Thu, Feb 10, 2005, Oily Pakora wrote: > Friends, > > When compiling a program on Win32, the following line of code generates an > error message: > > *plLen = i2d_ASN1_SET_OF_X509_EXTENSION(exts, NULL, i2d_X509_EXTENSION, > V_ASN1_SEQUENCE, V_ASN1_UNIVERSAL, IS_SEQUENCE)

Compile error on Win32 using i2d_ASN1_SET_OF_X509_EXTENSION call

2005-02-10 Thread Oily Pakora
Friends, When compiling a program on Win32, the following line of code generates an error message: *plLen = i2d_ASN1_SET_OF_X509_EXTENSION(exts, NULL, i2d_X509_EXTENSION, V_ASN1_SEQUENCE, V_ASN1_UNIVERSAL, IS_SEQUENCE); The error I get is: error C2664: 'i2d_ASN1_SET' :