diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-02-13 11:31:50 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-02-13 11:31:50 +0000 |
commit | 4fe447c6abd44368ac5e63319db4080995eef9e9 (patch) | |
tree | c78f3f52c7196bbe6159dbf2a6e4770bf6fe529d /tests | |
parent | 69a5a610e816f9a129225aa2866ba9cda3bed4b7 (diff) | |
download | gnutls-4fe447c6abd44368ac5e63319db4080995eef9e9.tar.gz |
fix for chain 1.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/x509paths/chain | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/x509paths/chain b/tests/x509paths/chain index e177aeb14d..e04a5d4647 100755 --- a/tests/x509paths/chain +++ b/tests/x509paths/chain @@ -31,7 +31,9 @@ i=1 while test -d X509tests/test$i; do find X509tests/test$i -name *.crl -print0 |sort -r -z|xargs -n1 --null $CERTTOOL --crl-info --inder --infile > chain$i.pem find X509tests/test$i -name E*.crt -print0 |sort -r -z|xargs -n1 --null $CERTTOOL --certificate-info --inder --infile >> chain$i.pem - find X509tests/test$i -name I*.crt -print0 |sort -r -z|xargs -n1 --null $CERTTOOL --certificate-info --inder --infile >> chain$i.pem + if test "$i" -gt 1; then + find X509tests/test$i -name I*.crt -print0 |sort -r -z|xargs -n1 --null $CERTTOOL --certificate-info --inder --infile >> chain$i.pem + fi find X509tests/test$i -name T*.crt -print0 |sort -r -z|xargs -n1 --null $CERTTOOL --certificate-info --inder --infile >> chain$i.pem $CERTTOOL -e --infile chain$i.pem > out 2>&1 rc=$? |