Subject: port-alpha/10920: libcrypto fails on openssl/test/bntest.c (BN_sqr)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@netbsd.org>
List: netbsd-bugs
Date: 08/31/2000 01:16:15
>Number: 10920
>Category: port-alpha
>Synopsis: libcrypto fails on openssl/test/bntest.c (BN_sqr)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-alpha-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 31 01:17:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Jun-ichiro itojun Hagino
>Release: latest current
>Organization:
itojun.org
>Environment:
NetBSD up1000 1.5E NetBSD 1.5E (UP1000) #18: Thu Aug 31 16:29:51 JST 2000 itojun@up1000:/export/up1000/home/itojun/NetBSD/src/sys/arch/alpha/compile/UP1000 alpha
>Description:
libcrypto includes big number computation library (BN_xx).
if we run tests for bignum (bntest.c) that come with openssl, BN_sqr
test fails.
not sure which side (tester or library) is wrong, but it does indicate
some failure.
>How-To-Repeat:
(extract openssl 0.9.5a)
% cd openssl-0.9.5a/test
% cc -o hoge bntest.c -lcrypto
% ./hoge
(tons of output)
test BN_sqr
-C024E839C3 * -C024E839C3 - 903761A8C76896786A89
Square test failed!
the number is determined at runtime, and can be different.
>Fix:
check #ifdef and types used in openssl.
>Release-Note:
>Audit-Trail:
>Unformatted: