diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-07-19 16:53:43 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-07-19 16:53:43 -0400 |
commit | 7dc6bd90c569c49807462b0740b18e32fab4d8b7 (patch) | |
tree | 1b6b4a3df6408992625f329206dbe98619589a17 /ChangeLog | |
parent | e0e722848005e335132015a64a09cad7f7a12073 (diff) | |
download | glibc-7dc6bd90c569c49807462b0740b18e32fab4d8b7.tar.gz glibc-7dc6bd90c569c49807462b0740b18e32fab4d8b7.tar.xz glibc-7dc6bd90c569c49807462b0740b18e32fab4d8b7.zip |
Use union to avoid casts in code to store results of hashsum computations
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2a57fc317b..0932ae59e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2011-07-19 Ulrich Drepper <drepper@gmail.com> + + * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add + buffer64. + * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead + of casting of buffer. + * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add + buffer32 and buffer64. + * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for + writes instead of casting of buffer. + * crypt/md5.h (struct md5_ctx): Move buffer into union and add + buffer32. + * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of + casting of buffer. + 2011-07-19 Andreas Schwab <schwab@redhat.com> * string/strxfrm_l.c (STRXFRM): Fix alloca accounting. |