From 52ee52f46760fbaf988f8a0950f73dcc99dc6baa Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 27 Dec 2014 23:35:09 -0600 Subject: [PATCH] crypto: Make packed --- src/crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto.h b/src/crypto.h index 1941dd27..a3b106c5 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -35,7 +35,7 @@ struct crypto_ptk { uint8_t kck[16]; uint8_t kek[16]; uint8_t tk[0]; -}; +} __attribute((packed))__; int crypto_cipher_key_len(enum crypto_cipher cipher); int crypto_cipher_tk_bits(enum crypto_cipher cipher);