summaryrefslogtreecommitdiff
path: root/crypt
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-10-10 14:51:46 +0000
committerJakub Jelinek <jakub@redhat.com>2005-10-10 14:51:46 +0000
commit2a61a5442b614a0f6b4b5c63501b641e83e8f229 (patch)
tree961710f1db68abe5e14c13f3cada17194cfdc9ad /crypt
parent74b2c78b9216d1d1642261da42bbe64544a667aa (diff)
downloadglibc-2a61a5442b614a0f6b4b5c63501b641e83e8f229.tar.gz
Updated to fedora-glibc-20051010T1417
Diffstat (limited to 'crypt')
-rw-r--r--crypt/Makefile8
-rw-r--r--crypt/md5.h6
2 files changed, 8 insertions, 6 deletions
diff --git a/crypt/Makefile b/crypt/Makefile
index af088f1e6c..575221a1c5 100644
--- a/crypt/Makefile
+++ b/crypt/Makefile
@@ -23,17 +23,15 @@ subdir := crypt
headers := crypt.h
-distribute := md5.h
-
extra-libs := libcrypt
extra-libs-others := $(extra-libs)
libcrypt-routines := crypt-entry md5-crypt md5 crypt crypt_util
-tests = cert md5test md5c-test
+tests := cert md5test md5c-test
-distribute = ufc-crypt.h crypt-private.h ufc.c speeds.c README.ufc-crypt \
- Banner md5.h
+distribute := ufc-crypt.h crypt-private.h ufc.c speeds.c README.ufc-crypt \
+ Banner md5.h
include ../Makeconfig
diff --git a/crypt/md5.h b/crypt/md5.h
index 35088f29fe..b474a84b8b 100644
--- a/crypt/md5.h
+++ b/crypt/md5.h
@@ -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