Hi,
 
I have upgraded the version of OpenSSL being used by my application, from
OpenSSL-0.9.8d to OpenSSL-0.9.8j. I get the compiler error 'error C2664:
'PEM_ASN1_read' : cannot convert parameter 1 from 'char *(__cdecl *)(void)'
to 'd2i_of_void (__cdecl *)'' when I build the application in VS2005, but
the same code when built on VS2003 does not have any issues. In both cases,
my app uses OpenSSL files built using VS2005 and VS2003 respectively.
 
In my code, I am invoking the OpenSSL method 'PEM_read_SSL_SESSION( )',
which is throwing the above mentioned error.
 
Please let me know how I can resolve this issue. And how is the invocation
different from OpenSSL-0.9.8d to OpenSSL-0.9.8j?
 
Regards,
Poornima.

Reply via email to