* crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros.

This commit is contained in:
Roland McGrath 2005-10-05 20:23:05 +00:00
parent 794102b047
commit d91c4c2eb0
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-10-05 Simon Josefsson <jas@extundo.com>
* crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros.
2005-10-05 Roland McGrath <roland@redhat.com>
* crypt/Makefile (distribute): Remove duplicate defn.

View File

@ -1,6 +1,7 @@
/* Declaration of functions and data types used for MD5 sum computing
library functions.
Copyright (C) 1995-1997,1999,2000,2001,2004 Free Software Foundation, Inc.
Copyright (C) 1995-1997,1999,2000,2001,2004,2005
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -27,6 +28,9 @@
# include <limits.h>
#endif
#define MD5_DIGEST_SIZE 16
#define MD5_BLOCK_SIZE 64
/* The following contortions are an attempt to use the C preprocessor
to determine an unsigned integral type that is 32 bits wide. An
alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but