changeset 8473:dba8f47ea9b8

2007-03-19 Simon Josefsson <simon@josefsson.org> * des.c: Remove weak_keys_chksum. Reported by Bruno Haible <bruno@clisp.org>.
author Simon Josefsson <simon@josefsson.org>
date Mon, 19 Mar 2007 10:07:27 +0000
parents ef3eabf2defb
children 11ae25a37675
files ChangeLog lib/des.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Mar 19 01:02:27 2007 +0000
+++ b/ChangeLog	Mon Mar 19 10:07:27 2007 +0000
@@ -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.
--- a/lib/des.c	Mon Mar 19 01:02:27 2007 +0000
+++ b/lib/des.c	Mon Mar 19 10:07:27 2007 +0000
@@ -318,10 +318,6 @@
   {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)