no random, no RSA/DH tests

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19858 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-11 20:48:34 +00:00
parent 45e6b61402
commit 8a02fd12ed
10 changed files with 32 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2007-01-11 Love H<>rnquist <20>strand <lha@it.su.se>
* no random, no RSA/DH tests
* hxtool.c (info): print status of random generator
* Makefile.am: remove files created by tests
* error.c: constify

View File

@@ -40,6 +40,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
exit 77
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
exit 77
fi
echo "create certificate request"
${hxtool} request-create \

View File

@@ -40,6 +40,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
exit 77
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
exit 77
fi
echo "cert -> root"
${hxtool} verify --missing-revoke \

View File

@@ -41,6 +41,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
exit 77
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
exit 77
fi
echo "create signed data"
${hxtool} cms-create-sd \

View File

@@ -41,6 +41,10 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
exit 77
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
exit 77
fi
echo "Bleichenbacher good cert (from eay)"
${hxtool} verify --missing-revoke \

View File

@@ -42,6 +42,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
exit 77
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
exit 77
fi
echo "nist tests"

View File

@@ -41,6 +41,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
exit 77
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
exit 77
fi
${hxtool} request-create \
--subject="CN=Love,DC=it,DC=su,DC=se" \

View File

@@ -1,5 +1,7 @@
2007-01-11 Love H<>rnquist <20>strand <lha@it.su.se>
* no random, no RSA/DH tests
* plugin/Makefile.am: remove files created by tests
* gss/Makefile.am: remove files created by tests

View File

@@ -270,6 +270,9 @@ pkinit=no
if ${hxtool} info | grep 'rsa: hx509 null RSA' > /dev/null ; then
rsa=no
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
rsa=no
fi
if ${kinit} --help 2>&1 | grep "CA certificates" > /dev/null; then
pkinit=yes
fi

View File

@@ -68,6 +68,10 @@ pkinit=no
if ${hxtool} info | grep 'rsa: hx509 null RSA' > /dev/null ; then
rsa=no
fi
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
rsa=no
fi
if ${kinit} --help 2>&1 | grep "CA certificates" > /dev/null; then
pkinit=yes
fi