summaryrefslogtreecommitdiff
path: root/modules/crypto/sha1
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/sha1
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/sha1')
-rw-r--r--modules/crypto/sha11
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/crypto/sha1 b/modules/crypto/sha1
index 2a347b0b38..8d00f312b6 100644
--- a/modules/crypto/sha1
+++ b/modules/crypto/sha1
@@ -7,6 +7,7 @@ lib/sha1.c
m4/sha1.m4
Depends-on:
+stdalign
stdint
configure.ac: