[gnutls-devel] 3.3.0pre0 - [sparc] Bus error on chainverify test
Andreas Metzler
ametzler at bebt.de
Fri Apr 18 19:36:18 CEST 2014
On 2014-04-17 Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> On Sun, 2014-03-30 at 19:37 +0200, Andreas Metzler wrote:
>> 3.3.0pre0's testsuite produces an error on sparc:
>> -------------
>> (sid_sparc-dchroot)ametzler at smetana:~/GNUTLS/gnutls28-3.3.0~pre0$ ./tests/chainverify
>> Bus error
>> (sid_sparc-dchroot)ametzler at smetana:~/GNUTLS/gnutls28-3.3.0~pre0$
> Thank you. It seems that certs[4] in chainverify was not sufficient for
> the last test that had 5 certificates. Since there were quite some
> variables in the stack they were happily being overwritten and that
> caused quite some mayhem. Thank you for providing access to that system.
Hello,
great, thank you very much.
FWIW I needed this patch on sparc
-----------------
--- gnutls28-3.3.0.orig/tests/dsa/testdsa
+++ gnutls28-3.3.0/tests/dsa/testdsa
@@ -143,7 +143,8 @@ echo "Checking DSA-3072 with TLS 1.2"
launch_server $$ --priority "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.2" --x509certfile $srcdir/cert.dsa.3072.pem --x509keyfile $srcdir/dsa.3072.pem >/dev/null 2>&1 & PID=$!
wait_server $PID
-
+# startup takes longer here ...
+sleep 2
$CLI $DEBUG -p $PORT 127.0.0.1 --insecure </dev/null >/dev/null || \
fail $PID "Failed connection to a server with DSA 3072 key and TLS 1.2!"
-----------------
to let the testsuite succeed on sparc. It seems that the server
startup for DSA-3072 with TLS 1.2 takes longer than 2 seconds for this
test on sparc.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the Gnutls-devel
mailing list