summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-04-30 03:46:27 +0000
committerimp <imp@FreeBSD.org>2002-04-30 03:46:27 +0000
commit07648d50d3b80e5ed7439254ef9e41d47f19d0c5 (patch)
tree910fa1b4990e96171a6e49df1eee754e7a9f568f /sys
parent4d466c829c78b6fcb51f5e1f5bd17fa73f85a4df (diff)
downloadFreeBSD-src-07648d50d3b80e5ed7439254ef9e41d47f19d0c5.zip
FreeBSD-src-07648d50d3b80e5ed7439254ef9e41d47f19d0c5.tar.gz
skibo tells me that that I didn't apply all of his last patch, and
sent me a replacement patch that fixes the problem. The challenge buffer was not large enough by a factor of 4 (due to my changing the size from 128 to 32, but not u_int8_t to u_int32_t). MFC after: 1 day Submitted by: skibo@pacbell.net
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wi/wi_hostap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/wi_hostap.c b/sys/dev/wi/wi_hostap.c
index 9b390ae..199a247 100644
--- a/sys/dev/wi/wi_hostap.c
+++ b/sys/dev/wi/wi_hostap.c
@@ -505,7 +505,7 @@ wihap_auth_req(struct wi_softc *sc, struct wi_frame *rxfrm,
u_int16_t seq;
u_int16_t status;
int i, challenge_len;
- u_int8_t challenge[32];
+ u_int32_t challenge[32];
struct wi_80211_hdr *resp_hdr;
OpenPOWER on IntegriCloud