aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server/eap_sim.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2007-12-01 02:34:53 (GMT)
committerJouni Malinen <j@w1.fi>2007-12-01 02:34:53 (GMT)
commitae5dcfd4fa5fe703f7022c314015412218869759 (patch)
treee3397cc2e87ff3a3f872c98531919a4da7c89bfb /src/eap_server/eap_sim.c
parent0c75c0ba6fb9f7c2f9d30f14847e64cb9e65e9c7 (diff)
downloadhostap-history-ae5dcfd4fa5fe703f7022c314015412218869759.zip
hostap-history-ae5dcfd4fa5fe703f7022c314015412218869759.tar.gz
hostap-history-ae5dcfd4fa5fe703f7022c314015412218869759.tar.bz2
Replaced the old hostapd_get_rand() calls with os_get_random().
Diffstat (limited to 'src/eap_server/eap_sim.c')
-rw-r--r--src/eap_server/eap_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_server/eap_sim.c b/src/eap_server/eap_sim.c
index f1b37a1..3078717 100644
--- a/src/eap_server/eap_sim.c
+++ b/src/eap_server/eap_sim.c
@@ -215,7 +215,7 @@ static u8 * eap_sim_build_reauth(struct eap_sm *sm,
wpa_printf(MSG_DEBUG, "EAP-SIM: Generating Re-authentication");
- if (hostapd_get_rand(data->nonce_s, EAP_SIM_NONCE_S_LEN))
+ if (os_get_random(data->nonce_s, EAP_SIM_NONCE_S_LEN))
return NULL;
wpa_hexdump_key(MSG_MSGDUMP, "EAP-SIM: NONCE_S",
data->nonce_s, EAP_SIM_NONCE_S_LEN);