2007-03-19 Simon Josefsson <simon@josefsson.org>
authorSimon Josefsson <simon@josefsson.org>
Mon, 19 Mar 2007 10:07:27 +0000 (10:07 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 19 Mar 2007 10:07:27 +0000 (10:07 +0000)
* des.c: Remove weak_keys_chksum.  Reported by Bruno Haible
<bruno@clisp.org>.

ChangeLog
lib/des.c

index 99a8e8b..fd9f3e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-19  Simon Josefsson  <simon@josefsson.org>
+
+       * des.c: Remove weak_keys_chksum.  Reported by Bruno Haible
+       <bruno@clisp.org>.
+
 2007-03-18  Bruno Haible  <bruno@clisp.org>
 
        * lib/vasnprintf.c (VASNPRINTF): Undo first part of last patch.
index a17b0fa..e2c7986 100644 (file)
--- 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)