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-01-09 11:27:56 (GMT)
commit8383da80092659295af9e8a69bb4276ebbbb0aa7 (patch)
tree05483d1cf5b4b281ca801001333779f9e379bafd /wpa_supplicant/eapol_test.c
parent8d06da09a48e0122df34d7ff30c1cd6d9e2a04d8 (diff)
downloadhostap-8383da80092659295af9e8a69bb4276ebbbb0aa7.zip
hostap-8383da80092659295af9e8a69bb4276ebbbb0aa7.tar.gz
hostap-8383da80092659295af9e8a69bb4276ebbbb0aa7.tar.bz2
Fixed eapol_test build after RADIUS API changes (const)
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 52d3248..294b29a 100644
--- a/wpa_supplicant/eapol_test.c
+++ b/wpa_supplicant/eapol_test.c
@@ -599,7 +599,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;
@@ -646,7 +647,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;