Browse Source

[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>
tags/v1.20.1
Michael Brown 9 years ago
parent
commit
1a30c20daf
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/80211/wpa_ccmp.c

+ 1
- 1
src/net/80211/wpa_ccmp.c View File

@@ -480,7 +480,7 @@ static void ccmp_kie_mic ( const void *kck, const void *msg, size_t len,
480 480
 {
481 481
 	u8 sha1_ctx[SHA1_CTX_SIZE];
482 482
 	u8 kckb[16];
483
-	u8 hash[SHA1_SIZE];
483
+	u8 hash[SHA1_DIGEST_SIZE];
484 484
 	size_t kck_len = 16;
485 485
 
486 486
 	memcpy ( kckb, kck, kck_len );

Loading…
Cancel
Save