Well, it went totally off topic, but anyway...
> 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.
>From my earlier experience core dumps in Solaris 2.x malloc are usually
insinuated by things like double-freeing of same portion, freeing of
never allocated chunk and similar earlier in the code. I used to link
with /usr/lib/libbsdmalloc.a (which is resistant to such things) if
fast-acting cure is desired.
> I'm using "-xdepend -xO5 -xarch=v8 -xstrconst";
Can you confirm that test passes if you manually link rsa_oaep_test with
-lbsdmalloc?
> compiling bn_div.c without
> any one of those flags or with SC4.2 makes the test pass.
Really weird, huh?

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

Reply via email to