allow testing on sha1 hash in cert queries

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24049 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-11-23 22:05:26 +00:00
parent 02f8830992
commit de3c767d3a
2 changed files with 40 additions and 0 deletions

View File

@@ -194,4 +194,10 @@ ${hxtool} query \
--expr='"1.3.6.1.5.2.3.5" IN %{certificate.eku} AND %{certificate.subject} TAILMATCH "C=SE"' \
FILE:$srcdir/data/kdc.crt > /dev/null || exit 1
echo "make sure entry match with hash.sha1"
${hxtool} query \
--expr='"%{certificate.hash.sha1}EQ "412120212A2CBFD777DE5499ECB4724345F33F16"' \
FILE:$srcdir/data/kdc.crt > /dev/null || exit 1
exit 0