aboutsummaryrefslogtreecommitdiffstats
path: root/radius_example
diff options
context:
space:
mode:
authorNick Lowe <nick.lowe@lugatech.com>2016-01-27 13:22:48 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-06 15:19:35 (GMT)
commit2cbc6ffb3a996192b03d6af90b8558daba376768 (patch)
tree685e59a5a06fb2636152bf54a015ea476cf0353e /radius_example
parentb71a64aa01488f9866fe86f19020a3911b09b436 (diff)
downloadhostap-2cbc6ffb3a996192b03d6af90b8558daba376768.zip
hostap-2cbc6ffb3a996192b03d6af90b8558daba376768.tar.gz
hostap-2cbc6ffb3a996192b03d6af90b8558daba376768.tar.bz2
RADIUS: Redesign Request Authenticator generation
Simplify and make properly random the generation of the Request Authenticator. Signed-off-by: Nick Lowe <nick.lowe@lugatech.com>
Diffstat (limited to 'radius_example')
-rw-r--r--radius_example/radius_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radius_example/radius_example.c b/radius_example/radius_example.c
index e4b3678..8b0f475 100644
--- a/radius_example/radius_example.c
+++ b/radius_example/radius_example.c
@@ -61,7 +61,7 @@ static void start_example(void *eloop_ctx, void *timeout_ctx)
return;
}
- radius_msg_make_authenticator(msg, (u8 *) ctx, sizeof(*ctx));
+ radius_msg_make_authenticator(msg);
if (!radius_msg_add_attr(msg, RADIUS_ATTR_USER_NAME,
(u8 *) "user", 4)) {