Hi, On Wed, Nov 27, 2002 at 12:14:42AM +0100, Andy Polyakov wrote: > > the test 'trsa' in the testsuite fails on ia64: > > > > testing rsa conversions > > p -> d > > p -> p > > d -> d > > make[1]: *** [test_rsa] Error 1 > > make[1]: Leaving directory > > `/usr/src/packages/BUILD/openssl-0.9.7_beta4/test' > > make: *** [tests] Error 2 > > I managed to reproduce the problem under nue (IA-64 emulator for Linux) > and with gcc 2.96 (the one found in nue-fs-1.2-1). It's a compiler bug: > > *** ./crypto/asn1/a_d2i_fp.c.orig Sun Nov 24 18:14:40 2002 > --- ./crypto/asn1/a_d2i_fp.c Sun Nov 24 18:15:16 2002 > *************** > *** 149,155 **** > ASN1_CTX c; > int want=HEADER_SIZE; > int eos=0; > ! int off=0; > int len=0; > > b=BUF_MEM_new(); > --- 149,155 ---- > ASN1_CTX c; > int want=HEADER_SIZE; > int eos=0; > ! size_t off=0; > int len=0; > > b=BUF_MEM_new(); > > Does this help gcc 3.2.1? This patch takes me to the next failing test, > test/dsatest to be specific, which surely also caused by another > compiler bug[which I didn't track down yet].
Yes, this patch helps with gcc 3.2.1, and not only the test_rsa passes, but also the other test that had failed (test_sid). Hhm, so should we regard this as a fix?? Peter -- Thought is limitation. Free your mind.
msg14189/pgp00000.pgp
Description: PGP signature
