Hi, 

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

This is with gcc-3.2.1, glibc-2.3.1. 0.9.6 works fine in this setup.
0.9.7 works fine on other 64 bit architectures.

For some reason that I do not understand, it works when I call it by
hand:

   .../openssl-0.9.7_beta4/test# LD_LIBRARY_PATH=.. sh ./tcrl
   testing crl conversions
   p -> d
   p -> p
   d -> d
   p -> d
   d -> p
   p -> p


Anyway, with verbosity added these are the error messages:

   + echo 'd -> d'
   d -> d
   + ../apps/openssl rsa -in f.d -inform d -outform d
   unable to load Private Key
   1397:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:130:
   1397:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:130:
   1397:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object 
header:tasn_dec.c:928:
   1397:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 
error:tasn_dec.c:304:Type=RSA
   1397:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib:d2i_pr.c:96:


I'll attach the suspicious file f.d to this mail. It seems that it is broken, because 
my openssl-0.9.6 binary reports

   read RSA key
   unable to load key
   3432:error:0906D06C:PEM routines:PEM_read_bio:no start 
line:pem_lib.c:663:Expecting: ANY PRIVATE KEY

on it. 

Peter

-- 
Thought is limitation. Free your mind.

Attachment: f.d
Description: Binary data

Attachment: msg13842/pgp00000.pgp
Description: PGP signature

Reply via email to