From b98b142233b5a63f2e5dd1847cc8251a720b4390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 23 Apr 2006 20:41:53 +0000 Subject: [PATCH] SKIP test if there is no RSA support. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17183 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/test_chain.in | 4 ++++ lib/hx509/test_cms.in | 4 ++++ lib/hx509/test_nist.in | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/lib/hx509/test_chain.in b/lib/hx509/test_chain.in index 13a26a8f5..368e10754 100644 --- a/lib/hx509/test_chain.in +++ b/lib/hx509/test_chain.in @@ -36,6 +36,10 @@ srcdir="@srcdir@" +if ./hxtool info | grep 'rsa: hx509 null RSA' > /dev/null ; then + exit 77 +fi + echo "cert -> root" ./hxtool verify --missing-revoke \ cert:FILE:$srcdir/data/test.crt \ diff --git a/lib/hx509/test_cms.in b/lib/hx509/test_cms.in index c209883e2..c03a4df2c 100644 --- a/lib/hx509/test_cms.in +++ b/lib/hx509/test_cms.in @@ -36,6 +36,10 @@ srcdir="@srcdir@" +if ./hxtool info | grep 'rsa: hx509 null RSA' > /dev/null ; then + exit 77 +fi + echo "create signed data" ./hxtool cms-create-sd \ --certificate=FILE:$srcdir/data/test.crt,$srcdir/data/test.key \ diff --git a/lib/hx509/test_nist.in b/lib/hx509/test_nist.in index 942675a9d..6fd37ed28 100644 --- a/lib/hx509/test_nist.in +++ b/lib/hx509/test_nist.in @@ -37,6 +37,10 @@ srcdir="@srcdir@" nistdir=/sources/pki/nist/PKITS_data +if ./hxtool info | grep 'rsa: hx509 null RSA' > /dev/null ; then + exit 77 +fi + echo "nist tests" test -d "$nistdir" || exit 77