mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
[802.11] Use correct SHA1_DIGEST_SIZE constant name
The constant SHA1_SIZE is defined only as part of the imported AXTLS code. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -480,7 +480,7 @@ static void ccmp_kie_mic ( const void *kck, const void *msg, size_t len,
|
|||||||
{
|
{
|
||||||
u8 sha1_ctx[SHA1_CTX_SIZE];
|
u8 sha1_ctx[SHA1_CTX_SIZE];
|
||||||
u8 kckb[16];
|
u8 kckb[16];
|
||||||
u8 hash[SHA1_SIZE];
|
u8 hash[SHA1_DIGEST_SIZE];
|
||||||
size_t kck_len = 16;
|
size_t kck_len = 16;
|
||||||
|
|
||||||
memcpy ( kckb, kck, kck_len );
|
memcpy ( kckb, kck, kck_len );
|
||||||
|
|||||||
Reference in New Issue
Block a user