aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/accounting.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-01-08 16:41:47 +0200
committerJouni Malinen <j@w1.fi>2009-01-08 16:41:47 +0200
commit7d02e641574435f4ee09cba34ef48376d35c785d (patch)
tree2aabd96f2dfae77db2b74d8f591885fd39a6a3cd /hostapd/accounting.c
parent1c6e69ccda916960bb03dd5b71df9ca5438bdf0f (diff)
downloadexternal_wpa_supplicant_8_ti-7d02e641574435f4ee09cba34ef48376d35c785d.zip
external_wpa_supplicant_8_ti-7d02e641574435f4ee09cba34ef48376d35c785d.tar.gz
external_wpa_supplicant_8_ti-7d02e641574435f4ee09cba34ef48376d35c785d.tar.bz2
Mark shared secret const in RADIUS client routines
Diffstat (limited to 'hostapd/accounting.c')
-rw-r--r--hostapd/accounting.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hostapd/accounting.c b/hostapd/accounting.c
index c4c683d..ce71678 100644
--- a/hostapd/accounting.c
+++ b/hostapd/accounting.c
@@ -422,7 +422,8 @@ static void accounting_sta_get_id(struct hostapd_data *hapd,
*/
static RadiusRxResult
accounting_receive(struct radius_msg *msg, struct radius_msg *req,
- u8 *shared_secret, size_t shared_secret_len, void *data)
+ const u8 *shared_secret, size_t shared_secret_len,
+ void *data)
{
if (msg->hdr->code != RADIUS_CODE_ACCOUNTING_RESPONSE) {
printf("Unknown RADIUS message code\n");