From cb4810b419d76a660b0b9b88f97be708e10606d5 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Mon, 19 Mar 2007 10:07:27 +0000
Subject: [PATCH] 2007-03-19  Simon Josefsson  <simon@josefsson.org>

	* des.c: Remove weak_keys_chksum.  Reported by Bruno Haible
	<bruno@clisp.org>.
---
 ChangeLog | 5 +++++
 lib/des.c | 4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 99a8e8b648..fd9f3e845f 100644
--- 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.
diff --git a/lib/des.c b/lib/des.c
index a17b0fad99..e2c7986092 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)
-- 
2.39.5