From 58362ab151e9399381cf1b0aa54363f832302877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 19 Aug 2008 02:20:24 +0000 Subject: [PATCH] Test EVP_CIPHER git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23642 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hcrypto/test_crypto.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/hcrypto/test_crypto.in b/lib/hcrypto/test_crypto.in index 6dc0382f2..7bc6927f5 100644 --- a/lib/hcrypto/test_crypto.in +++ b/lib/hcrypto/test_crypto.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