[openssl.org #1315] [PATCH] OpenSSL FIPS 1.0 - AIX 4.3.3 AIX 5.x w/GCC

2014-06-30 Thread Rich Salz via RT
Very old release; old unsupported platform, closing the ticket.

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


[openssl.org #1315] [PATCH] OpenSSL FIPS 1.0 - AIX 4.3.3 AIX 5.x w/GCC

2006-04-12 Thread Brad House via RT

Ran into 3 problems (with OpenSSL-fips-1.0), all of which
are addressed here:
1) dladdr() does not exist in AIX4 or AIX5.1, but the
   DSO_pathbyaddr() function from crypto/dso/dso_dlfcn.c
   is not called from anywhere so it's dead code...
   Just #if'd it out.
   (Note: this also affects SCO OpenServer's ability to
build [positively])
2) The inline assembler in fips-1.0/fips_canister.c for
   PPC doesn't work with GCC and AIX's assembler properly
   (it creates an undefined symbol reference to '.', yeah
that's right a period is the symbol name).  Since the
   fips_canister.c cannot be modified, I had to define
   INSTRUCTION_POINTER_IMPLEMENTED(ret), and I put that in
   e_os.h.  The actual implementation used is the same exact
   implementation which the codepath actually uses on AIX
   if you were to use IBMs XLC compiler.
3) There is no 64bit target in Configure for aix and gcc.

Attached is the patch.  'make test' succeeds in both 32bit
and 64bit mode using gcc 3.4.4 on AIX 5.1, 32bit mode on
AIX 4.3 using gcc 3.4.4, and SCO OpenServer 5.0.6a using
gcc  3.3.1...

-Brad
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]