Test EVP_CIPHER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23642 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user