Still got some problems dealing with MacOS/X (Darwin 1.4), so I figured, what the heck, better do it myself :) Two small problems (undrelated to the patch): first apple bundles the OpenSSL libraries w/o includes and in a stripped-down version, and Apple's LD is broken (doesn't correctly interpret the "-L" library path search algorithm: meaning that libs in /usr/lib are checked before the ones specifed in "-L", screwing up the whole thing because all binaries don't want to compile).
My hint - or solution :( is to remove the /usr/lib/libcrypto.* and /usr/lib/libssl.* _BEFORE_ compiling OpenSSL.... The patch by itself (attached) fixes just the "config" script and some definitions around the source files (not much)... The only thing I'm concerned about is about the gmtime/gmtime_r differences... AFAICS there's no gmtime_r under OS/X, so when compiling with threading support, I had to rely on gmtime... And I don't know if that screws the whole thing up. BTW, is there interest in a "Cocoa-Framework" style of build in the main development tree? It's a pretty cool feature of OS/X for dynamic libraries, with support for versioning and stuff... I'm working on it right now... Pier ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]