* 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 efc27cc..6e8cc34 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 3343bf7..7bb51e3 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 e8bd02b..5ce69c4 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 1c29e67..969f7a0 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.  */