gnupg-1.4.1

"John R. Shannon" <[email protected]> Sun, 29 May 2005 06:50:49 -0600
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
Test problems:

1. Algorithm name returned by gpg is uppercase and script checks for lowercase 
name
2. Incorrect algorithm matching (eg., idea for BLOWFISH)

Fix:

--- checks/conventional.test.orig       2003-12-31 12:00:35.000000000 -0700
+++ checks/conventional.test
@@ -11,26 +11,30 @@ 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

-- 
John R. Shannon
[email protected]
[email protected]
[email protected]
[email protected]

_______________________________________________
Gpa-dev mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gpa-dev
smime.p7s (application/pkcs7-signature, 1.4 KB) - not displayed