Andy Polyakov via RT [[EMAIL PROTECTED]] a �crit:
>
> > 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
???
The first line in my by report was an information about the 64
bits state (juste read a few lines above), so, i'm not agree, i'm honest :)
> contain -m64 so that you must have added it yourself, which you should
> have explicitly stated.
yes, i've added it myself.
>
> 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.
ok, i'll try (i think i've already tried, but
i'll check and re-try) and i'll mail back result to you in a few time.
>
> > # ./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.
oki, surely my -m64 flags in this case... I'll try and reply soon...
dav.
--
PGP public key: http://www.r00tworld.com/~dav/dav.gpg
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]