OpenSSL 0.9.6-beta1 doesn't compile "out of the box" on OpenBSD
2.7; it fails when linking in apps because speed.c uses:
#if !defined(_UNICOS)
# define TIMEB
#endif
However, the man page says:
ftime - get date and time
DESCRIPTION
This interface is obsoleted by gettimeofday(2). It is available from the
compatibility library, libcompat.
So either TIMEB shouldn't be defined or libcompat is needed. I
prefer the first solution; after I undefined TIMEB, compilation
and test succeeded.
PS: some more info:
OpenSSL version: 0.9.6-beta1
OS (uname): OpenBSD zardoc.endmail.org 2.7 ZARDOC#14 i386
OS (config): i386-whatever-openbsd
Target (default): ??
Target: OpenBSD-x86
Compiler: gcc version 2.95.2 19991024 (release)
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]