mirror of https://github.com/ipxe/ipxe.git
[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>pull/39/head
parent
775f5943c0
commit
1a30c20daf
|
@ -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 kckb[16];
|
||||
u8 hash[SHA1_SIZE];
|
||||
u8 hash[SHA1_DIGEST_SIZE];
|
||||
size_t kck_len = 16;
|
||||
|
||||
memcpy ( kckb, kck, kck_len );
|
||||
|
|
Loading…
Reference in New Issue