From: Simon Josefsson Date: Mon, 19 Mar 2007 10:07:27 +0000 (+0000) Subject: 2007-03-19 Simon Josefsson X-Git-Tag: cvs-readonly~745 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=cb4810b419d76a660b0b9b88f97be708e10606d5;p=gnulib.git 2007-03-19 Simon Josefsson * des.c: Remove weak_keys_chksum. Reported by Bruno Haible . --- diff --git a/ChangeLog b/ChangeLog index 99a8e8b64..fd9f3e845 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-19 Simon Josefsson + + * des.c: Remove weak_keys_chksum. Reported by Bruno Haible + . + 2007-03-18 Bruno Haible * lib/vasnprintf.c (VASNPRINTF): Undo first part of last patch. diff --git a/lib/des.c b/lib/des.c index a17b0fad9..e2c798609 100644 --- a/lib/des.c +++ b/lib/des.c @@ -318,10 +318,6 @@ static const unsigned char weak_keys[64][8] = { {0xfe, 0xfe, 0xe0, 0xe0, 0xfe, 0xfe, 0xf0, 0xf0}, {0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe} /*w */ }; -static const unsigned char weak_keys_chksum[20] = { - 0xD0, 0xCF, 0x07, 0x38, 0x93, 0x70, 0x8A, 0x83, 0x7D, 0xD7, - 0x8A, 0x36, 0x65, 0x29, 0x6C, 0x1F, 0x7C, 0x3F, 0xD3, 0x41 -}; bool gl_des_is_weak_key (const char * key)