Hi,

On Thu, Nov 16, 2000 at 07:35:13PM +0100, Richard Levitte - VMS Whacker wrote:
> From: Raoul Borenius <[EMAIL PROTECTED]>
> 
> borenius> I just compiled openssl-0.9.6 on my sparc-linux-box (SS 20)
> borenius> and I think there is a small bug in ./config while trying to
> borenius> detect the hardware by reading '/proc/cpuinfo'.
> borenius> 
> borenius> On my box there are two lines containing the string 'type'
> borenius> and this leads to a wrong guess by the config-script.
> 
> I'm surprised, wouldn't it be easier to just use 'uname -m' or
> something?

Well, 'uname -m' just gives 'sparc'. But needed is 'sun4m' 'sun4u' etc.

> 
> Anyway, I'll insert your patch...
> 

BTW, applying the patch produces warnings while compiling:

make[2]: Entering directory `/sw/work/raoul/openssl-0.9.6/crypto/hmac'
gcc -I.. -I../../include -DTHREADS -D_REENTRANT -fPIC -mv8 -DB_ENDIAN -DTERMIO -O3 
-fomit-frame-pointer -Wall -DBN_DIV2W   -c -o hmac.o hmac.c
In file included from ../../include/openssl/rsa.h:65,
                 from ../../include/openssl/evp.h:127,
                 from ../../include/openssl/hmac.h:65,
                 from hmac.c:61:
../../include/openssl/bn.h:93: warning: `BN_DIV2W' redefined
*Initialization*:1: warning: this is the location of the previous definition

Not critical but should be fixed.

Regards

Raoul

 ---------------------------------------------------------------------
 Raoul Gunnar Borenius          Deutsches Forschungsnetz e.V.
 WiNShuttle                     Lindensp�rstr.32, 70176 Stuttgart
 Phone  : +49 711 63314-206     FAX: +49 711 63314-133
 E-Mail : [EMAIL PROTECTED]   http://www.shuttle.de
 PGP-Key: finger -l [EMAIL PROTECTED]
 ---------------------------------------------------------------------

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

Reply via email to