changeset 6335:7eaa3cbec8e5

* md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also <http://sourceware.org/bugzilla/show_bug.cgi?id=1423>.
author Simon Josefsson <simon@josefsson.org>
date Wed, 05 Oct 2005 13:54:42 +0000
parents 4b643b12df55
children f563b75e0dcf
files config/ChangeLog config/srclist.txt lib/ChangeLog lib/md5.h
diffstat 4 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-05  Simon Josefsson  <jas@extundo.com>
+
+	* srclist.txt: Add glibc bug 1423 for md5.h.
+
 2005-09-19  Derek Price  <derek@ximbiot.com>
 
 	* srclist.txt: glibc's glob.h is now in lib/glob-libc.h.
--- a/config/srclist.txt
+++ b/config/srclist.txt
@@ -1,4 +1,4 @@
-# $Id: srclist.txt,v 1.106 2005-09-19 16:01:21 dprice Exp $
+# $Id: srclist.txt,v 1.107 2005-10-05 13:54:42 jas Exp $
 # Files for which we are not the source.  See ./srclistvars.sh for the
 # variable definitions.
 
@@ -188,6 +188,7 @@
 #
 # These are close, but ...
 #$LIBCSRC/crypt/md5.c			lib gpl
+# http://sourceware.org/bugzilla/show_bug.cgi?id=1423
 #$LIBCSRC/crypt/md5.h			lib gpl
 #$LIBCSRC/locale/programs/xmalloc.c	lib gpl
 #$LIBCSRC/locale/programs/xstrdup.c	lib gpl
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,8 @@
 2005-10-05  Simon Josefsson  <jas@extundo.com>
 
+	* md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also
+	<http://sourceware.org/bugzilla/show_bug.cgi?id=1423>.
+
 	* memxor.h, memxor.c: New files.
 
 	* getaddrinfo.h: Don't protect sys/types.h with HAVE_SYS_TYPES_H,
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -64,6 +64,9 @@
 # define __md5_stream md5_stream
 #endif
 
+#define MD5_DIGEST_SIZE 16
+#define MD5_BLOCK_SIZE 64
+
 typedef uint32_t md5_uint32;
 
 /* Structure to save state of computation between the single steps.  */