diff options
Diffstat (limited to 'src/lib/libssl/test/testenc')
| -rw-r--r-- | src/lib/libssl/test/testenc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/libssl/test/testenc b/src/lib/libssl/test/testenc index 42db56c2be..0656c7f525 100644 --- a/src/lib/libssl/test/testenc +++ b/src/lib/libssl/test/testenc | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | testsrc=Makefile.ssl | 3 | testsrc=Makefile.ssl |
| 4 | test=./p | 4 | test=./p |
| 5 | cmd=../apps/ssleay | 5 | cmd=../apps/openssl |
| 6 | 6 | ||
| 7 | cat $testsrc >$test; | 7 | cat $testsrc >$test; |
| 8 | 8 | ||
| @@ -27,15 +27,7 @@ else | |||
| 27 | /bin/rm $test.cipher $test.clear | 27 | /bin/rm $test.cipher $test.clear |
| 28 | fi | 28 | fi |
| 29 | 29 | ||
| 30 | for i in rc4 \ | 30 | for i in `$cmd list-cipher-commands` |
| 31 | des-cfb des-ede-cfb des-ede3-cfb \ | ||
| 32 | des-ofb des-ede-ofb des-ede3-ofb \ | ||
| 33 | des-ecb des-ede des-ede3 desx \ | ||
| 34 | des-cbc des-ede-cbc des-ede3-cbc \ | ||
| 35 | idea-ecb idea-cfb idea-ofb idea-cbc \ | ||
| 36 | rc2-ecb rc2-cfb rc2-ofb rc2-cbc \ | ||
| 37 | bf-ecb bf-cfb bf-ofb bf-cbc rc4 \ | ||
| 38 | cast5-ecb cast5-cfb cast5-ofb cast5-cbc | ||
| 39 | do | 31 | do |
| 40 | echo $i | 32 | echo $i |
| 41 | $cmd $i -bufsize 113 -e -k test < $test > $test.$i.cipher | 33 | $cmd $i -bufsize 113 -e -k test < $test > $test.$i.cipher |
