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 Å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" \