Hello,

I've built OpenSSL 0.9.8i on a Solaris 9 SPARC system, using a fully
patched Sun Studio 11.
It builds fine, however, «make test» fails (see below).

Version 0.9.8h built on the same system with the same parameters doesn't
fail.

Version 0.9.8i built with Studio 12 on S10 x86 doesn't fail, either.

Compiler or OpenSSL bug?

Laurent

I built using this:
../config --prefix=/usr/local/openssl-0.9.8i shared
-R/usr/local/openssl-0.9.8i/lib
make
make test


c2tnb431r1: ....... ok
wap-wsg-idm-ecid-wtls3: ....... ok
wap-wsg-idm-ecid-wtls5: ...... failed

ECDSA test failed
23191:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
tag:tasn_dec.c:1294:
23191:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
error:tasn_dec.c:380:Type=ECDSA_SIG
23191:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too
long:asn1_lib.c:150:
23191:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object
header:tasn_dec.c:1281:
23191:error:0D06C03A:asn1 encoding routines:ASN1_D2I_EX_PRIMITIVE:nested
asn1 error:tasn_dec.c:830:
23191:error:0D08303A:asn1 encoding
routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1
error:tasn_dec.c:749:Field=s, Type=ECDSA_SIG
*** Error code 1
make: Fatal error: Command failed for target `test_ecdsa'
Current working directory /export/home/lblume/openssl-0.9.8i/test
*** Error code 1
make: Fatal error: Command failed for target `tests'


With OpenSSL 0.9.8h:
c2tnb431r1: ....... ok
wap-wsg-idm-ecid-wtls3: ....... ok
wap-wsg-idm-ecid-wtls5: ....... ok
wap-wsg-idm-ecid-wtls7: ....... ok
wap-wsg-idm-ecid-wtls9: ....... ok
wap-wsg-idm-ecid-wtls10: ....... ok
wap-wsg-idm-ecid-wtls11: ....... ok
wap-wsg-idm-ecid-wtls12: ....... ok

--
/ Leader de Projet & Communauté | I'm working, but not speaking for
\ G11N http://fr.opensolaris.org | Bull Services http://www.bull.com
/ FOSUG http://guses.org |
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org