aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 10:03:40 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-24 10:03:40 (GMT)
commit174e899f698eeafe40e77616aad0b50803d7ad3b (patch)
tree2326040b9bcabb64e89e7cd7fb3e6b6ab6fdd624
parent8a404b598dde68085c1361f25ebf5e0eed746314 (diff)
downloadhostap-174e899f698eeafe40e77616aad0b50803d7ad3b.zip
hostap-174e899f698eeafe40e77616aad0b50803d7ad3b.tar.gz
hostap-174e899f698eeafe40e77616aad0b50803d7ad3b.tar.bz2
Fix RADIUS client callback function parameters
-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; */