summaryrefslogtreecommitdiff
path: root/modules/crypto/md4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-10-16 17:17:47 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-10-27 13:05:42 -0700
commit2d540c2cb293bff09a2fe1b1bab9d1775d7e2832 (patch)
treeefb51352db9de14c09de28670fb708f8c5a36ff2 /modules/crypto/md4
parentbebd93f5da72542b6e867a5fd1e2c524e0fae1c1 (diff)
downloadgnulib-2d540c2cb293bff09a2fe1b1bab9d1775d7e2832.tar.gz
crypto libraries: use stdalign
* lib/md4.c, lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c: Include <stdalign.h> and <stdint.h>. Do not include <stddef.h>. Do not include <stdlib.h> twice, in md4.c. (UNALIGNED_P): Simplify by using alignof. Use uintptr_t, not size_t, because we are accessing a pointer's bit-pattern, not a size. * modules/crypto/gc-md4 (Depends-on): Add stdalign. * modules/crypto/gc-md5, modules/crypto/gc-sha1, modules/crypto/md4: * modules/crypto/md5, modules/crypto/sha1, modules/crypto/sha256: * modules/crypto/sha512: Likewise.
Diffstat (limited to 'modules/crypto/md4')
-rw-r--r--modules/crypto/md41
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/crypto/md4 b/modules/crypto/md4
index 0a4d061698..e0b2b0443a 100644
--- a/modules/crypto/md4
+++ b/modules/crypto/md4
@@ -7,6 +7,7 @@ lib/md4.c
m4/md4.m4
Depends-on:
+stdalign
stdint
configure.ac: