> We're making test on DUnix Tru 64 and we had problem with this library:
> make test result:
> 
> test BN_sqr
> Square test failed!

> Our op. sys is: OSF1 link.softax.local V5.1 732 alpha
> our compiler is:
> Compaq C V6.3-025 on Compaq Tru64 UNIX V5.1 (Rev. 732)

I failed to reproduce the problem with Compaq C under Alpha Linux. I've
experienced very similar problem with

- Intel ecc for IA-64 which turned to be a compiler bug (try attached
patch);

- ./config has failed on 64-bit platform;

Can you post output from 'apps/openssl version -a'?

Cheers. A.
*** ./crypto/bn/bn_lcl.h.orig   Tue Mar 26 00:14:50 2002
--- ./crypto/bn/bn_lcl.h        Fri Nov 22 21:59:01 2002
***************
*** 337,347 ****
  
  #define LBITS(a)      ((a)&BN_MASK2l)
  #define HBITS(a)      (((a)>>BN_BITS4)&BN_MASK2l)
! #define       L2HBITS(a)      ((BN_ULONG)((a)&BN_MASK2l)<<BN_BITS4)
  
  #define LLBITS(a)     ((a)&BN_MASKl)
  #define LHBITS(a)     (((a)>>BN_BITS2)&BN_MASKl)
  #define       LL2HBITS(a)     ((BN_ULLONG)((a)&BN_MASKl)<<BN_BITS2)
  
  #define mul64(l,h,bl,bh) \
        { \
--- 337,346 ----
  
  #define LBITS(a)      ((a)&BN_MASK2l)
  #define HBITS(a)      (((a)>>BN_BITS4)&BN_MASK2l)
! #define       L2HBITS(a)      (((a)<<BN_BITS4)&BN_MASK2)
  
  #define LLBITS(a)     ((a)&BN_MASKl)
  #define LHBITS(a)     (((a)>>BN_BITS2)&BN_MASKl)
  
  #define mul64(l,h,bl,bh) \
        { \

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to