# HG changeset patch # User Simon Josefsson # Date 1128520482 0 # Node ID 7eaa3cbec8e5ac0fdb737a11ffae5411bd6f9ce1 # Parent 4b643b12df55bbb482e46b4c8e8f2b2d6f9cec70 * md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also . diff --git a/config/ChangeLog b/config/ChangeLog --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2005-10-05 Simon Josefsson + + * srclist.txt: Add glibc bug 1423 for md5.h. + 2005-09-19 Derek Price * srclist.txt: glibc's glob.h is now in lib/glob-libc.h. diff --git a/config/srclist.txt b/config/srclist.txt --- 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 diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,8 @@ 2005-10-05 Simon Josefsson + * md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also + . + * memxor.h, memxor.c: New files. * getaddrinfo.h: Don't protect sys/types.h with HAVE_SYS_TYPES_H, diff --git a/lib/md5.h b/lib/md5.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. */