Hi!

While installing openssl-0.9.2b, I found a bug in crypto/bn/bn_lcl.h:
the prototype for bn_add_words is missing a parameter:

*** crypto/bn/bn_lcl.h.orig     Thu Jan 28 11:40:37 1999
--- crypto/bn/bn_lcl.h  Tue May 11 13:33:25 1999
***************
*** 247,253 ****
  BIGNUM *bn_expand2(BIGNUM *b, int bits);
  
  #ifdef X86_ASM
! void bn_add_words(BN_ULONG *r,BN_ULONG *a,int num);
  #endif
  
  #else
--- 247,253 ----
  BIGNUM *bn_expand2(BIGNUM *b, int bits);
  
  #ifdef X86_ASM
! void bn_add_words(BN_ULONG *r,BN_ULONG *a,BN_ULONG *b,int num);
  #endif
  
  #else

Even though everything compiles fine, there are some hints that I think
should be given to ease installation even more:

 - If you build a shared library, this library will not be used unless
   you add -L/path/to/library to LIBCRYPTO and LIBSSL in apps/Makefile
   and test/Makefile (there are platforms where a shared library must
   be installed in the right place for an executable linked with this
   library to run after installation).
   More trouble comes from PEX_LIBS, which introduces -L.. in front
   of LIBCRYPTO and LIBSSL, so on AIX and Linux, the local library
   gets used instead of the installed one...
 - When compiling shared libraries on HP-UX, pa-risc2.o mustn't be used
   since ist uses DP relative code which can't be linked into a shared
   library
 - On HP-UX 10.xx (at least 10.20), crypto/des/fcrypt_b.c can't be
   compiled with higher optimization than -O (specifying e.g. +O3
   causes the compiler to hang forever)
 - On AIX 4.1, crypto/idea/i_skey.c mustn't be compiled with higher
   optimization than -O (specifying e.g. -O3 even with -qstrict leads to
   erroneaous code; looks like a bug in AIX' xlc, this is version 3.1.4.0)

Bye, Andy

-------------------------------------------------------------------------------
   Andreas Ley       !  "Even when you're   !  Email: [EMAIL PROTECTED]
   Goethestr. 27     !   a genius, life is  !  Home:  +49 721 84 10 36
   76135 Karlsruhe   !   a mystery!"        !  RZ:    +49 721 608 6341 <- NEU!
   Germany           !  Doogie Howser, M.D. !  AKK:   +49 721 96 403 22
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to