diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-11-27 00:23:14 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-27 00:27:14 +0000 |
commit | c7bda0314dae8986496f3af770563fafd1f4bc2e (patch) | |
tree | 96380a323b202292fe7d31651291a15c711f7f96 /lib/md4.c | |
parent | 45ba7f22dafd07233d67ccb2d90824a02f9d6dec (diff) | |
download | gnulib-c7bda0314dae8986496f3af770563fafd1f4bc2e.tar.gz |
md4,md5,sha*: allow _STRING_INLINE_unaligned enable unaligned operation
* lib/md4.c (md4_process_bytes): The existing define is made internal
in recent versions of glibc, so also use this new public define.
* lib/md5.c (md5_process_bytes): Likewise.
* lib/sha1.c (sha1_process_bytes): Likewise.
* lib/sha256.c (sha256_process_bytes): Likewise.
* lib/sha512.c (sha512_process_bytes): Likewise.
Diffstat (limited to 'lib/md4.c')
-rw-r--r-- | lib/md4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -237,7 +237,7 @@ md4_process_bytes (const void *buffer, size_t len, struct md4_ctx *ctx) /* Process available complete blocks. */ if (len >= 64) { -#if !_STRING_ARCH_unaligned +#if !(_STRING_ARCH_unaligned || _STRING_INLINE_unaligned) # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) if (UNALIGNED_P (buffer)) while (len > 64) |