From de66ca829d22f939900635968d1b3fd7a7d598da Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 1 Nov 2013 01:25:03 +0100 Subject: The attribute is called aligned, not align --- src/hkdf_sha256.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3