1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

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" <jhein@timing.com>
This commit is contained in:
Jun Kuriyama 2001-01-17 07:27:58 +00:00
parent ce1d7806cf
commit dc834458cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37265
2 changed files with 62 additions and 0 deletions

View File

@ -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 {

View File

@ -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 {