* md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also
authorSimon Josefsson <simon@josefsson.org>
Wed, 5 Oct 2005 13:54:42 +0000 (13:54 +0000)
committerSimon Josefsson <simon@josefsson.org>
Wed, 5 Oct 2005 13:54:42 +0000 (13:54 +0000)
<http://sourceware.org/bugzilla/show_bug.cgi?id=1423>.

config/ChangeLog
config/srclist.txt
lib/ChangeLog
lib/md5.h

index efc27ccfff7c1250003f4e012fb55f95c1248292..6e8cc34e178da44113b212d1ec8c40cdb043394e 100644 (file)
@@ -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.
index 3343bf73759cbf2ca4b679089d26de80cd7f78a1..7bb51e3556669ed29faf4e48a1f5f9163c96190e 100644 (file)
@@ -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 @@ $LIBCSRC/time/mktime.c                      lib gpl
 #
 # 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
index e8bd02b9e83f2ca36ef79acf866f8a3b47862649..5ce69c490cd6810eda623f5b38e8a9b026abb8bb 100644 (file)
@@ -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,
index 1c29e67b4ef01bc7ee2b8a3e1a0a4f937aeb9fd0..969f7a0a952f2ce9266e0472a96bee870d7e3d2f 100644 (file)
--- 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.  */