Peter Schmiedeskamp wrote :
Hi, during the process of compiling OpenSSL 0.9.7e on AIX 5.3, I ran into a compile issue whereby "fips_rand.c" attempted to redefine _XOPEN_SOURCE_EXTENDED which is already defined in AIX's system headers.
Here's a patch that worked for me:
--- fips_rand.c.orig 2005-03-10 08:30:39.000000000
-0700
+++ fips_rand.c 2005-03-09 15:27:59.000000000 -0700
@@ -56,7 +56,9 @@
/* If we don't define _XOPEN_SOURCE_EXTENDED, struct
timeval won't
be defined and gettimeofday() won't be declared
with strict compilers
like DEC C in ANSI C mode. */
+#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
+#endif
#include <openssl/des.h>
#include <openssl/rand.h>However, openssl built in 64bits mode fails SQR test:
# openssl-0.9.7e > make test [... stuff deleted ...] starting big number library test, could take a while... test BN_add test BN_sub test BN_lshift1 test BN_lshift (fixed) test BN_lshift test BN_rshift1 test BN_rshift test BN_sqr Square test failed!
Just to let you know that both above problems are solved by 0.9.7f release :-)
--
Mr. Jacques LEBASTARD mailto:[EMAIL PROTECTED]
EVIDIAN S.A. www.evidian.com
Rue Jean Jaurès Tel: +33 1 30 80 77 86
F-78340 LES CLAYES SOUS BOIS Fax: +33 1 30 80 77 99
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]