[EMAIL PROTECTED] - Thu Feb 20 11:59:09 2003]:

> System:
>     IA-64, SuSE SLES-8
> Compiler:
>     Intel(R) C++ Itanium(R) Compiler for Itanium(R)-based applications
>     Version 7.0, Build 20021210 
> 
> I've patched the Configure script by adding a new configuration,
> "linux-ia64-ecc".  It's based on the "linux-ia64" configuration with
> the following changes:

I just committed your patch.

> Also, one of the compiler warnings points to a possible bug.  The file
> crypto/mem_clr.c contains the following:
> 
>                 cleanse_ctr += (17 + (unsigned char)((int)p & 0xF));
> 
> where p is an unsigned char*.  The cast of p to type int will lose
> significant bits, since int is 32 bits and pointers are 64 bits.
> I don't know of any symptoms of this bug; in particular, casting to
> unsigned long rather than int doesn't fix the BN_sqr problem.

Considering we only use the 4 lowest bits (" & 0xF"), the loss of the upper bits is a 
non-issue.

This ticket is now resolved.

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

Reply via email to