aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2007-05-02 17:20:45 +0000
committerDavid Shaw <[email protected]>2007-05-02 17:20:45 +0000
commitddfaad29fdff314fe0902b1b068964cd05c7baef (patch)
tree4dfd0b2c0a933a600bf6f7f170ec461532610f48
parent* packet.h, mainproc.c (reset_literals_seen): New function to reset (diff)
downloadgnupg-ddfaad29fdff314fe0902b1b068964cd05c7baef.tar.gz
gnupg-ddfaad29fdff314fe0902b1b068964cd05c7baef.zip
* conventional.test, encrypt.test, encrypt-dsa.test,
conventional-mdc.test: Fix some broken tests that were only testing 3DES instead of all available ciphers.
-rw-r--r--checks/ChangeLog6
-rwxr-xr-xchecks/conventional-mdc.test14
-rwxr-xr-xchecks/conventional.test4
-rwxr-xr-xchecks/encrypt-dsa.test14
-rwxr-xr-xchecks/encrypt.test14
5 files changed, 31 insertions, 21 deletions
diff --git a/checks/ChangeLog b/checks/ChangeLog
index cc67e7eaf..ea4f3220c 100644
--- a/checks/ChangeLog
+++ b/checks/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-02 David Shaw <[email protected]>
+
+ * conventional.test, encrypt.test, encrypt-dsa.test,
+ conventional-mdc.test: Fix some broken tests that were only
+ testing 3DES instead of all available ciphers.
+
2007-03-04 David Shaw <[email protected]>
* verify.test: Use --allow-multiple-messages instead of
diff --git a/checks/conventional-mdc.test b/checks/conventional-mdc.test
index 95a6ba476..b3cf10b3a 100755
--- a/checks/conventional-mdc.test
+++ b/checks/conventional-mdc.test
@@ -4,23 +4,23 @@
algos="3des"
-if have_cipher_algo "idea"; then
+if have_cipher_algo "IDEA"; then
algos="$algos idea"
fi
-if have_cipher_algo "cast5"; then
- algos="$algos idea"
+if have_cipher_algo "CAST5"; then
+ algos="$algos cast5"
fi
-if have_cipher_algo "blowfish"; then
- algos="$algos idea"
+if have_cipher_algo "BLOWFISH"; then
+ algos="$algos blowfish"
fi
-if have_cipher_algo "aes"; then
+if have_cipher_algo "AES"; then
algos="$algos aes aes192 aes256"
fi
-if have_cipher_algo "twofish"; then
+if have_cipher_algo "TWOFISH"; then
algos="$algos twofish"
fi
diff --git a/checks/conventional.test b/checks/conventional.test
index 2fd273028..8b75c8a50 100755
--- a/checks/conventional.test
+++ b/checks/conventional.test
@@ -11,6 +11,10 @@ done
algos="3des"
+if have_cipher_algo "IDEA"; then
+ algos="$algos idea"
+fi
+
if have_cipher_algo "CAST5"; then
algos="$algos cast5"
fi
diff --git a/checks/encrypt-dsa.test b/checks/encrypt-dsa.test
index 0c6333c21..4b9da35ff 100755
--- a/checks/encrypt-dsa.test
+++ b/checks/encrypt-dsa.test
@@ -11,23 +11,23 @@ done
algos="3des"
-if have_cipher_algo "idea"; then
+if have_cipher_algo "IDEA"; then
algos="$algos idea"
fi
-if have_cipher_algo "cast5"; then
- algos="$algos idea"
+if have_cipher_algo "CAST5"; then
+ algos="$algos cast5"
fi
-if have_cipher_algo "blowfish"; then
- algos="$algos idea"
+if have_cipher_algo "BLOWFISH"; then
+ algos="$algos blowfish"
fi
-if have_cipher_algo "aes"; then
+if have_cipher_algo "AES"; then
algos="$algos aes aes192 aes256"
fi
-if have_cipher_algo "twofish"; then
+if have_cipher_algo "TWOFISH"; then
algos="$algos twofish"
fi
diff --git a/checks/encrypt.test b/checks/encrypt.test
index 44f26a17a..35f35d0e5 100755
--- a/checks/encrypt.test
+++ b/checks/encrypt.test
@@ -11,23 +11,23 @@ done
algos="3des"
-if have_cipher_algo "idea"; then
+if have_cipher_algo "IDEA"; then
algos="$algos idea"
fi
-if have_cipher_algo "cast5"; then
- algos="$algos idea"
+if have_cipher_algo "CAST5"; then
+ algos="$algos cast5"
fi
-if have_cipher_algo "blowfish"; then
- algos="$algos idea"
+if have_cipher_algo "BLOWFISH"; then
+ algos="$algos blowfish"
fi
-if have_cipher_algo "aes"; then
+if have_cipher_algo "AES"; then
algos="$algos aes aes192 aes256"
fi
-if have_cipher_algo "twofish"; then
+if have_cipher_algo "TWOFISH"; then
algos="$algos twofish"
fi