aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/eapol_test.c
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 /wpa_supplicant/eapol_test.c
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 'wpa_supplicant/eapol_test.c')
-rw-r--r--wpa_supplicant/eapol_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c
index 7c7d54a..1aede79 100644
--- a/wpa_supplicant/eapol_test.c
+++ b/wpa_supplicant/eapol_test.c
@@ -193,7 +193,7 @@ static void ieee802_1x_encapsulate_radius(struct eapol_test_data *e,
return;
}
- radius_msg_make_authenticator(msg, (u8 *) e, sizeof(*e));
+ radius_msg_make_authenticator(msg);
hdr = (const struct eap_hdr *) eap;
pos = (const u8 *) (hdr + 1);