From dc834458ccee2e739bf92f3792b8259ff0c5b230 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Wed, 17 Jan 2001 07:27:58 +0000 Subject: [PATCH] RIJNDAEL algorithm is not depreciated. Fix not to show warning message when using RIJNDAEL. Obtained from: http://lists.gnupg.org/gnupg-announce-200010/msg00003.html Requested by: "John E. Hein" --- security/gnupg/files/patch-misc.c | 31 ++++++++++++++++++++++++++++++ security/gnupg1/files/patch-misc.c | 31 ++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 security/gnupg/files/patch-misc.c create mode 100644 security/gnupg1/files/patch-misc.c diff --git a/security/gnupg/files/patch-misc.c b/security/gnupg/files/patch-misc.c new file mode 100644 index 000000000000..4520e0045b72 --- /dev/null +++ b/security/gnupg/files/patch-misc.c @@ -0,0 +1,31 @@ +Hi, + +some folks asked what the message + + gpg: this cipher algorithm is depreciated; please use a more standard one! + +does mean. Yes, gpg 1.0.4 should not emit this message. I forgot +to put the AES cipher algorithm into the list of "good" algorithms. + +Either ignore this message or apply the patch below. + + Werner + + +Index: g10/misc.c +=================================================================== +RCS file: /home/koch/cvs/gnupg/g10/misc.c,v +retrieving revision 1.16.2.4 +diff -u -r1.16.2.4 misc.c +--- g10/misc.c 2000/10/13 15:03:48 1.16.2.4 ++++ g10/misc.c 2000/10/18 13:34:01 +@@ -224,6 +224,9 @@ + || algo == CIPHER_ALGO_CAST5 + || algo == CIPHER_ALGO_BLOWFISH + || algo == CIPHER_ALGO_TWOFISH ++ || algo == CIPHER_ALGO_RIJNDAEL ++ || algo == CIPHER_ALGO_RIJNDAEL192 ++ || algo == CIPHER_ALGO_RIJNDAEL256 + ) + ; + else { diff --git a/security/gnupg1/files/patch-misc.c b/security/gnupg1/files/patch-misc.c new file mode 100644 index 000000000000..4520e0045b72 --- /dev/null +++ b/security/gnupg1/files/patch-misc.c @@ -0,0 +1,31 @@ +Hi, + +some folks asked what the message + + gpg: this cipher algorithm is depreciated; please use a more standard one! + +does mean. Yes, gpg 1.0.4 should not emit this message. I forgot +to put the AES cipher algorithm into the list of "good" algorithms. + +Either ignore this message or apply the patch below. + + Werner + + +Index: g10/misc.c +=================================================================== +RCS file: /home/koch/cvs/gnupg/g10/misc.c,v +retrieving revision 1.16.2.4 +diff -u -r1.16.2.4 misc.c +--- g10/misc.c 2000/10/13 15:03:48 1.16.2.4 ++++ g10/misc.c 2000/10/18 13:34:01 +@@ -224,6 +224,9 @@ + || algo == CIPHER_ALGO_CAST5 + || algo == CIPHER_ALGO_BLOWFISH + || algo == CIPHER_ALGO_TWOFISH ++ || algo == CIPHER_ALGO_RIJNDAEL ++ || algo == CIPHER_ALGO_RIJNDAEL192 ++ || algo == CIPHER_ALGO_RIJNDAEL256 + ) + ; + else {