Gary, MatrixSSL might be a good alternative, it's designed to be easily portable and I believe only uses callbacks with parameters in one spot (for X.509 certificate validation). Var args are also not used in any of the APIs, which may help if your compiler is less than ANSI compliant.. The library is sockets and threads independent, so POSIX support isn't required in your OS. Basic stdlib is about all you need. Here's a post containing the external APIs that are invoked and when they're used. http://www.matrixssl.org/archives/000058.html
J Disclaimer: I'm on the MatrixSSL team. garwal> I have been working on porting OpenSSL to the THEOS Operating garwal> System. The C compiler is ANSI C compliant and "mostly" ISO garwal> C99 compliant. However, it is not as feature rich as GCC. My garwal> main problem is with the function pointer callbacks that garwal> accept parameters. I'm finding that I have to modify the garwal> source a lot in order to get it to compile. garwal> garwal> Does anyone have any suggestions that may help me in porting garwal> OpenSSL to this environment? Is there another SSL toolkit garwal> that is more ANSI C friendly? ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]