Test PEM and DER FILE writing functionallity.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21315 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-25 18:45:44 +00:00
parent 6af92427cb
commit c5881d3399

View File

@@ -56,4 +56,14 @@ done
echo "print NULL"
${hxtool} print --content NULL: > /dev/null || exit 1
echo "copy dance"
${hxtool} certificate-copy \
FILE:${srcdir}/data/test.crt PEM-FILE:cert-pem.tmp || exit 1
${hxtool} certificate-copy PEM-FILE:cert-pem.tmp DER-FILE:cert-der.tmp || exit 1
${hxtool} certificate-copy DER-FILE:cert-der.tmp PEM-FILE:cert-pem2.tmp || exit 1
cmp cert-pem.tmp cert-pem2.tmp || exit 1
exit 0