Krister Walfridsson <[EMAIL PROTECTED]> said:
> On Sat, 3 Apr 1999, Alicia da Conceicao wrote:
> > The "genrsa" freeze that occurs with openssl 0.9.2b, also occurs with the
> > lastest snapshot of openssl, which is SNAP-19990402. In addition, also with
> > both openssl 0.9.2b and with SNAP-19990402, "make test" goes all the way to
> > the "rsa_oaep_test" without errors, then freezes at that RSA test.
>
> This is a bug in the version of egcs used by NetBSD. Remove the
> '-fomit-frame-pointer' in the openssl Config file, and everything should
> work.
>
> FWIW, egcs-current don't have this bug...
rsa_oaep_test also breaks when built on SPARC Solaris 2.6 using Sun's SC5.0.
The first decryption fails, then the program dumps core when BN_bin2bn() calls
malloc() to load key2->n. It looks like the malloc arena is getting trashed.
I'm using "-xdepend -xO5 -xarch=v8 -xstrconst"; compiling bn_div.c without
any one of those flags or with SC4.2 makes the test pass. I'm not convinced
it's really gone though. It could be corrupting memory some place where it
doesn't show up.
SC5.0 is brand new, so a compiler bug is quite possibe. I'll track it down
if I have time.
Still, it's suspicious that there would be bugs in two compilers that break
rsa_oaep_test but none of the other tests. Is there a subtle bug in the
source?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]