aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius/radius_client.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-01-08 14:41:47 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-08 14:41:47 (GMT)
commit7d02e641574435f4ee09cba34ef48376d35c785d (patch)
tree2aabd96f2dfae77db2b74d8f591885fd39a6a3cd /src/radius/radius_client.c
parent1c6e69ccda916960bb03dd5b71df9ca5438bdf0f (diff)
downloadhostap-7d02e641574435f4ee09cba34ef48376d35c785d.zip
hostap-7d02e641574435f4ee09cba34ef48376d35c785d.tar.gz
hostap-7d02e641574435f4ee09cba34ef48376d35c785d.tar.bz2
Mark shared secret const in RADIUS client routines
Diffstat (limited to 'src/radius/radius_client.c')
-rw-r--r--src/radius/radius_client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radius/radius_client.c b/src/radius/radius_client.c
index 91147c2..673e97e 100644
--- a/src/radius/radius_client.c
+++ b/src/radius/radius_client.c
@@ -35,7 +35,8 @@
struct radius_rx_handler {
RadiusRxResult (*handler)(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);
void *data;
};
@@ -106,7 +107,7 @@ int radius_client_register(struct radius_client_data *radius,
RadiusType msg_type,
RadiusRxResult (*handler)(struct radius_msg *msg,
struct radius_msg *req,
- u8 *shared_secret,
+ const u8 *shared_secret,
size_t shared_secret_len,
void *data),
void *data)