In message <[EMAIL PROTECTED]> on Tue, 19 Nov 2002 18:23:37 +0100, Peter
Poeml <[EMAIL PROTECTED]> said:
poeml> the test 'trsa' in the testsuite fails on ia64:
poeml>
poeml> testing rsa conversions
poeml> p -> d
poeml> p -> p
poeml> d -> d
poeml> make[1]: *** [test_rsa] Error 1
poeml> make[1]: Leaving directory
poeml> `/usr/src/packages/BUILD/openssl-0.9.7_beta4/test'
poeml> make: *** [tests] Error 2
poeml>
poeml> This is with gcc-3.2.1, glibc-2.3.1. 0.9.6 works fine in this setup.
poeml> 0.9.7 works fine on other 64 bit architectures.
poeml>
poeml> For some reason that I do not understand, it works when I call it by
poeml> hand:
poeml>
poeml> .../openssl-0.9.7_beta4/test# LD_LIBRARY_PATH=.. sh ./tcrl
Eh, tcrl isn't the same as trsa, so I'm not surprised you get
different results :-).
poeml> Anyway, with verbosity added these are the error messages:
poeml>
poeml> + echo 'd -> d'
poeml> d -> d
poeml> + ../apps/openssl rsa -in f.d -inform d -outform d
poeml> unable to load Private Key
poeml> 1397:error:0D07209B:asn1 encoding routines:ASN1_get_object:too
long:asn1_lib.c:130:
poeml> 1397:error:0D07209B:asn1 encoding routines:ASN1_get_object:too
long:asn1_lib.c:130:
poeml> 1397:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object
header:tasn_dec.c:928:
poeml> 1397:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
error:tasn_dec.c:304:Type=RSA
poeml> 1397:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1
lib:d2i_pr.c:96:
Hmm, it's possible we've screwed up int vs. long (they differ in ia64,
if I understand correctly?)...
poeml> 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
poeml>
poeml> read RSA key
poeml> unable to load key
poeml> 3432:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:663:Expecting: ANY PRIVATE KEY
Eh, f.d isn't in PEM format. Try the following command:
openssl rsa -in f.d -inform d
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]