aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/eapol_test.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-01-09 11:27:56 (GMT)
committerJouni Malinen <j@w1.fi>2009-03-11 19:48:04 (GMT)
commit31e40b42aea9dd0852ed5e64def81b974b179d02 (patch)
tree764eba2a64445bb24081f9c6c73da8c2afa000ff /wpa_supplicant/eapol_test.c
parent0fa9694a141be19643936462ce679d82b58dfdda (diff)
downloadhostap-06-31e40b42aea9dd0852ed5e64def81b974b179d02.zip
hostap-06-31e40b42aea9dd0852ed5e64def81b974b179d02.tar.gz
hostap-06-31e40b42aea9dd0852ed5e64def81b974b179d02.tar.bz2
Fixed eapol_test build after RADIUS API changes (const)
(cherry picked from commit 8383da80092659295af9e8a69bb4276ebbbb0aa7)
Diffstat (limited to 'wpa_supplicant/eapol_test.c')
-rw-r--r--wpa_supplicant/eapol_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c
index d87aad7..b188549 100644
--- a/wpa_supplicant/eapol_test.c
+++ b/wpa_supplicant/eapol_test.c
@@ -617,7 +617,8 @@ static void ieee802_1x_decapsulate_radius(struct eapol_test_data *e)
static void ieee802_1x_get_keys(struct eapol_test_data *e,
struct radius_msg *msg, struct radius_msg *req,
- u8 *shared_secret, size_t shared_secret_len)
+ const u8 *shared_secret,
+ size_t shared_secret_len)
{
struct radius_ms_mppe_keys *keys;
@@ -664,7 +665,7 @@ static void ieee802_1x_get_keys(struct eapol_test_data *e,
/* Process the RADIUS frames from Authentication Server */
static RadiusRxResult
ieee802_1x_receive_auth(struct radius_msg *msg, struct radius_msg *req,
- u8 *shared_secret, size_t shared_secret_len,
+ const u8 *shared_secret, size_t shared_secret_len,
void *data)
{
struct eapol_test_data *e = data;