aboutsummaryrefslogtreecommitdiff
path: root/crypt/md5.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-04 18:24:11 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-04 18:24:11 +0000
commit3248e3a326e04320d0fdecba70be17d4f13bfb27 (patch)
tree3f9337c369fa74bc8f603cd715b53c0f42764f88 /crypt/md5.h
parent83b1b6d8faca6d279867c1c76f75e89786b76f4f (diff)
downloadglibc-3248e3a326e04320d0fdecba70be17d4f13bfb27.zip
glibc-3248e3a326e04320d0fdecba70be17d4f13bfb27.tar.gz
glibc-3248e3a326e04320d0fdecba70be17d4f13bfb27.tar.bz2
Update.
2000-07-04 Ulrich Drepper <drepper@redhat.com> * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt are not aligned to alignof(md5_uint32) do it before calling __md5_process_bytes. * crypt/md5.c: Make sure buffers are aligned. * crypt/md5.h: Likewise. Reported by Solar Designer <solar@false.com>. * crypt/Makefile: Add dependencies for test programs. * Rules: Define LC_ALL=C in environments of all programs we run. * intl/tst-gettext.sh (LC_ALL): Define to C and export. 2000-07-03 H.J. Lu <hjl@gnu.org> * locale/programs/ld-ctype.c (ctype_output): The size of iov is 2 + elem + offset, not 2 + elem + offset + 2. 2000-07-04 Ulrich Drepper <drepper@redhat.com> * posix/fnmatch_loop.c: Fix two problems uncovered by the new test suite. * posix/Makefile (tests): Add tst-fnmatch. (tst-fnmatch-ENV): Define. * posix/tst-fnmatch.c: New file. * posix/tst-fnmatch.sh: New file.
Diffstat (limited to 'crypt/md5.h')
-rw-r--r--crypt/md5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt/md5.h b/crypt/md5.h
index fbc2bdbf..b27254b 100644
--- a/crypt/md5.h
+++ b/crypt/md5.h
@@ -1,6 +1,6 @@
/* Declaration of functions and data types used for MD5 sum computing
library functions.
- Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1999, 2000 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
@@ -87,7 +87,7 @@ struct md5_ctx
md5_uint32 total[2];
md5_uint32 buflen;
- char buffer[128];
+ char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32))));
};
/*