summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);