diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-07-25 14:42:06 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-07-27 15:59:10 +0100 |
commit | 1a30c20dafd41812f62543c8baf92bff4740b4b5 (patch) | |
tree | 90714305659db7fc2da7c7fa0114700022cb7dc8 /src/net | |
parent | 775f5943c0aa8b9889aed057bf0057c62f06c253 (diff) | |
download | ipxe-1a30c20dafd41812f62543c8baf92bff4740b4b5.zip ipxe-1a30c20dafd41812f62543c8baf92bff4740b4b5.tar.gz ipxe-1a30c20dafd41812f62543c8baf92bff4740b4b5.tar.bz2 |
[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>
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/80211/wpa_ccmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/80211/wpa_ccmp.c b/src/net/80211/wpa_ccmp.c index f98ebea..a073c6a 100644 --- a/src/net/80211/wpa_ccmp.c +++ b/src/net/80211/wpa_ccmp.c @@ -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 ); |