aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 10:03:40 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-09 19:02:52 (GMT)
commitc35a0fe3012cc71d596d62ca7c009fd6b4c1683f (patch)
treec88fa011e9639970f5a57bbc4fbbe0544c6391f6
parentb515e1cd4083f393af4574df0d45bed3bcb4b76a (diff)
downloadhostap-06-c35a0fe3012cc71d596d62ca7c009fd6b4c1683f.zip
hostap-06-c35a0fe3012cc71d596d62ca7c009fd6b4c1683f.tar.gz
hostap-06-c35a0fe3012cc71d596d62ca7c009fd6b4c1683f.tar.bz2
Fix RADIUS client callback function parameters
(cherry picked from commit 174e899f698eeafe40e77616aad0b50803d7ad3b)
-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 1b27efc..ed3d174 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; */