From e94358fc928b8c189b2f5da56f2df938a05bd252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 20 Jan 2006 09:04:59 +0000 Subject: [PATCH] Drop verifying certifiates, its done in another test now. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16633 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/test_nist.in | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/lib/hx509/test_nist.in b/lib/hx509/test_nist.in index cd749c8c9..43580fcf0 100644 --- a/lib/hx509/test_nist.in +++ b/lib/hx509/test_nist.in @@ -41,28 +41,12 @@ echo "nist tests" test -d "$nistdir" || exit 77 -while read id validate verify cert arg1 arg2 arg3 arg4 arg5 ; do +while read id verify cert arg1 arg2 arg3 arg4 arg5 ; do expr "$id" : "#" > /dev/null && continue test "$id" = "end" && break echo -n . - if ./hxtool validate $nistdir/certs/$cert > /dev/null; then - if test "$validate" = "f"; then - echo "validate passed on fail: $id $cert" - exit 1 - fi - else - if test "$validate" = "p"; then - echo "validate failed on pass: $id $cert" - exit 1 - fi - fi - - if test "$verify" = "s"; then - continue - fi - args="" a=$(echo $arg1 | sed "s@basedir@$nistdir@") ; args="$args $a" a=$(echo $arg2 | sed "s@basedir@$nistdir@") ; args="$args $a" @@ -74,14 +58,14 @@ while read id validate verify cert arg1 arg2 arg3 arg4 arg5 ; do args="$args crl:FILE:$nistdir/crls/TrustAnchorRootCRL.crl" args="$args cert:FILE:$nistdir/certs/$cert" - if ./hxtool verify $args > /dev/null ; then + if ./hxtool verify $args > /dev/null; then if test "$verify" = "f"; then - echo "validate passed on fail: $id $cert" + echo "verify passed on fail: $id $cert" exit 1 fi else if test "$verify" = "p"; then - echo "validate failed on pass: $id $cert" + echo "verify failed on pass: $id $cert" exit 1 fi fi