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:
@@ -1,5 +1,9 @@
|
|||||||
2007-01-11 Love H<>rnquist <20>strand <lha@it.su.se>
|
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
|
* Makefile.am: remove files created by tests
|
||||||
|
|
||||||
* error.c: constify
|
* error.c: constify
|
||||||
|
@@ -40,6 +40,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
|
|||||||
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
|
||||||
|
exit 77
|
||||||
|
fi
|
||||||
|
|
||||||
echo "create certificate request"
|
echo "create certificate request"
|
||||||
${hxtool} request-create \
|
${hxtool} request-create \
|
||||||
|
@@ -40,6 +40,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
|
|||||||
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
|
||||||
|
exit 77
|
||||||
|
fi
|
||||||
|
|
||||||
echo "cert -> root"
|
echo "cert -> root"
|
||||||
${hxtool} verify --missing-revoke \
|
${hxtool} verify --missing-revoke \
|
||||||
|
@@ -41,6 +41,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
|
|||||||
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
|
||||||
|
exit 77
|
||||||
|
fi
|
||||||
|
|
||||||
echo "create signed data"
|
echo "create signed data"
|
||||||
${hxtool} cms-create-sd \
|
${hxtool} cms-create-sd \
|
||||||
|
@@ -41,6 +41,10 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
|
|||||||
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
|
||||||
|
exit 77
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo "Bleichenbacher good cert (from eay)"
|
echo "Bleichenbacher good cert (from eay)"
|
||||||
${hxtool} verify --missing-revoke \
|
${hxtool} verify --missing-revoke \
|
||||||
|
@@ -42,6 +42,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
|
|||||||
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
|
||||||
|
exit 77
|
||||||
|
fi
|
||||||
|
|
||||||
echo "nist tests"
|
echo "nist tests"
|
||||||
|
|
||||||
|
@@ -41,6 +41,9 @@ hxtool="${TESTS_ENVIRONMENT} ./hxtool"
|
|||||||
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
|
||||||
|
exit 77
|
||||||
|
fi
|
||||||
|
|
||||||
${hxtool} request-create \
|
${hxtool} request-create \
|
||||||
--subject="CN=Love,DC=it,DC=su,DC=se" \
|
--subject="CN=Love,DC=it,DC=su,DC=se" \
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
2007-01-11 Love H<>rnquist <20>strand <lha@it.su.se>
|
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
|
* plugin/Makefile.am: remove files created by tests
|
||||||
|
|
||||||
* gss/Makefile.am: remove files created by tests
|
* gss/Makefile.am: remove files created by tests
|
||||||
|
@@ -270,6 +270,9 @@ pkinit=no
|
|||||||
if ${hxtool} info | grep 'rsa: hx509 null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hx509 null RSA' > /dev/null ; then
|
||||||
rsa=no
|
rsa=no
|
||||||
fi
|
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
|
if ${kinit} --help 2>&1 | grep "CA certificates" > /dev/null; then
|
||||||
pkinit=yes
|
pkinit=yes
|
||||||
fi
|
fi
|
||||||
|
@@ -68,6 +68,10 @@ pkinit=no
|
|||||||
if ${hxtool} info | grep 'rsa: hx509 null RSA' > /dev/null ; then
|
if ${hxtool} info | grep 'rsa: hx509 null RSA' > /dev/null ; then
|
||||||
rsa=no
|
rsa=no
|
||||||
fi
|
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
|
if ${kinit} --help 2>&1 | grep "CA certificates" > /dev/null; then
|
||||||
pkinit=yes
|
pkinit=yes
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user