> SUBJECT: Bug in new key generation
>
> --
> *** THIS BUG REPORT IS FOR 64 bits ONLY, 32 bits version is working fine ***
> --
>
> # cd /opt/src/openssl-0.9.6h
> # ./apps/openssl version -a
> OpenSSL 0.9.6h 5 Dec 2002
> built on: Sun Dec 22 15:17:10 CET 2002
> platform: solaris-sparcv9-gcc
> options: bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,long) idea(int)
>blowfish(ptr)
> compiler: gcc -m64 -fPIC -DNO_ASM -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall
>-DB_ENDIAN -DBN_DIV2W -DULTRASPARC -m64
You're not being honest. 0.9.6h solaris-sparcv9-gcc line does not
contain -m64 so that you must have added it yourself, which you should
have explicitly stated.
Now, adding -m64 to solaris-sparcv9-gcc line is known to break things in
unspecified manner ("unspecified" means that I reckon it's fruitless to
figure out in which manner it breaks things). I bet it doesn't pass
'make test' either, most likely it's BN_sqr that fails. If you need to
build 0.9.6h for 64-bit SPARC ABI, configure with './Configure
solaris64-sparcv9-gcc31' instead.
> # ./apps/openssl genrsa -des3 63
> Generating RSA private key, 63 bit long modulus
>
>..................................................................................................................................
> (and never stop)
Can't reproduce it with properly configured toolkit. A.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]