3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

crypto: Use proper form for making a structure packed

This commit is contained in:
Marcel Holtmann 2014-12-28 06:50:51 +01:00
parent f25b1442ff
commit 78d21c782c

View File

@ -35,7 +35,7 @@ struct crypto_ptk {
uint8_t kck[16];
uint8_t kek[16];
uint8_t tk[0];
} __attribute((packed))__;
} __attribute__ ((packed));
int crypto_cipher_key_len(enum crypto_cipher cipher);
int crypto_cipher_tk_bits(enum crypto_cipher cipher);