aboutsummaryrefslogtreecommitdiffstats
path: root/radius_example
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 12:03:40 +0200
committerJouni Malinen <j@w1.fi>2009-12-24 12:03:40 +0200
commit174e899f698eeafe40e77616aad0b50803d7ad3b (patch)
tree2326040b9bcabb64e89e7cd7fb3e6b6ab6fdd624 /radius_example
parent8a404b598dde68085c1361f25ebf5e0eed746314 (diff)
downloadexternal_wpa_supplicant_8_ti-174e899f698eeafe40e77616aad0b50803d7ad3b.zip
external_wpa_supplicant_8_ti-174e899f698eeafe40e77616aad0b50803d7ad3b.tar.gz
external_wpa_supplicant_8_ti-174e899f698eeafe40e77616aad0b50803d7ad3b.tar.bz2
Fix RADIUS client callback function parameters
Diffstat (limited to 'radius_example')
-rw-r--r--radius_example/radius_example.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/radius_example/radius_example.c b/radius_example/radius_example.c
index dbf4b54..1bcefc8 100644
--- a/radius_example/radius_example.c
+++ b/radius_example/radius_example.c
@@ -39,7 +39,8 @@ static void hostapd_logger_cb(void *ctx, const u8 *addr, unsigned int module,
/* Process the RADIUS frames from Authentication Server */
static RadiusRxResult 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 radius_ctx *ctx = data; */