aboutsummaryrefslogtreecommitdiffstats
path: root/checks/encrypt.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/encrypt.test')
-rwxr-xr-xchecks/encrypt.test26
1 files changed, 3 insertions, 23 deletions
diff --git a/checks/encrypt.test b/checks/encrypt.test
index 35f35d0e5..a6ee1c691 100755
--- a/checks/encrypt.test
+++ b/checks/encrypt.test
@@ -9,32 +9,12 @@ for i in $plain_files $data_files ; do
cmp $i y || error "$i: mismatch"
done
-algos="3des"
-
-if have_cipher_algo "IDEA"; then
- algos="$algos idea"
-fi
-
-if have_cipher_algo "CAST5"; then
- algos="$algos cast5"
-fi
-
-if have_cipher_algo "BLOWFISH"; then
- algos="$algos blowfish"
-fi
-
-if have_cipher_algo "AES"; then
- algos="$algos aes aes192 aes256"
-fi
-
-if have_cipher_algo "TWOFISH"; then
- algos="$algos twofish"
-fi
-
-for ca in $algos ; do
+for ca in `all_cipher_algos` ; do
+ echo_n "$ca "
for i in $plain_files $data_files ; do
$GPG --always-trust -e -o x --yes -r "$usrname2" --cipher-algo $ca $i
$GPG -o y --yes x
cmp $i y || error "$i: mismatch"
done
done
+echo_n "| "