> Any thoughts regarding changing things such as (and this is just purely an example):
>
> #define d2i_X509_fp(fp,x509) (X509 *)ASN1_d2i_fp((char *(*)())X509_new, \
> (char *(*)())d2i_X509, (fp),(unsigned char **)(x509))
>
> to use typedef'd callbacks, that are extern "C" under C++?
The library is also cheating about function types -- functions are
defined for one type and called with another one (the types above
don't have the argument lists declared, which is why the compiler does
not complain). All this needs cleaning up, but there's quite a lot to
do for it. Now if anyone provided patches for it ...
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]