Fix RADIUS client callback function parameters
authorJouni Malinen <j@w1.fi>
Thu, 24 Dec 2009 10:03:40 +0000 (12:03 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Dec 2009 10:03:40 +0000 (12:03 +0200)
radius_example/radius_example.c

index dbf4b54..1bcefc8 100644 (file)
@@ -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; */