From c624017ebcc8aa7d861a325964105b3ba97261b4 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 5 Oct 2005 13:54:42 +0000 Subject: [PATCH] * md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also . --- config/ChangeLog | 4 ++++ config/srclist.txt | 3 ++- lib/ChangeLog | 3 +++ lib/md5.h | 3 +++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config/ChangeLog b/config/ChangeLog index efc27ccff..6e8cc34e1 100644 --- 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 index 3343bf737..7bb51e355 100644 --- 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 @@ $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 diff --git a/lib/ChangeLog b/lib/ChangeLog index e8bd02b9e..5ce69c490 100644 --- 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 index 1c29e67b4..969f7a0a9 100644 --- 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. */ -- 2.11.0