Test EVP_CIPHER

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23642 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-08-19 02:20:24 +00:00
parent c6f0b74fe5
commit 58362ab151

View File

@@ -68,5 +68,12 @@ for a in unix fortuna egd ;do
cmp crypto-test crypto-test2 && { echo "rand output same!" ; exit 1; }
done
./example_evp_cipher 1 ${srcdir}/test_crypto.in test-out-1 || \
{ echo "1 failed" ; exit 1; }
for a in 7 15 16 17 31 32 33 ; do
./example_evp_cipher $a ${srcdir}/test_crypto.in test-out-$a
cmp test-out-1 test-out-$a || { echo "cmp $a failed" ; exit 1; }
done
exit 0