diff options
Diffstat (limited to 'checks/encrypt-dsa.test')
-rwxr-xr-x | checks/encrypt-dsa.test | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/checks/encrypt-dsa.test b/checks/encrypt-dsa.test index 4b9da35ff..da5e99d6a 100755 --- a/checks/encrypt-dsa.test +++ b/checks/encrypt-dsa.test @@ -9,29 +9,8 @@ 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 $dsa_keyrings --always-trust --cipher-algo $ca -e \ -o x --yes -r "$dsa_usrname2" $i @@ -39,3 +18,4 @@ for ca in $algos ; do cmp $i y || error "$i: mismatch" done done +echo_n "| " |