summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-01 01:25:03 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-01 01:25:03 +0100
commitde66ca829d22f939900635968d1b3fd7a7d598da (patch)
tree073e79c88b21ced62e1404d979836c295fa3d9af
parentf5127d2231eae2a09667b7d8c07f6e4da2918662 (diff)
downloadfastd-de66ca829d22f939900635968d1b3fd7a7d598da.tar
fastd-de66ca829d22f939900635968d1b3fd7a7d598da.zip
The attribute is called aligned, not align
-rw-r--r--src/hkdf_sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hkdf_sha256.c b/src/hkdf_sha256.c
index a85f5e3..8d04ae0 100644
--- a/src/hkdf_sha256.c
+++ b/src/hkdf_sha256.c
@@ -35,7 +35,7 @@ void fastd_hkdf_sha256_expand(fastd_sha256_t *out, size_t blocks, fastd_sha256_t
size_t len = sizeof(fastd_sha256_t) + infolen + 1;
- uint8_t buf[len] __attribute__((align(4)));
+ uint8_t buf[len] __attribute__((aligned(4)));
memset(buf, 0, sizeof(fastd_sha256_t));
memcpy(buf+sizeof(fastd_sha256_t), info, infolen);