aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/pmksa_cache.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2007-05-27 17:25:07 (GMT)
committerJouni Malinen <j@w1.fi>2007-05-27 17:25:07 (GMT)
commit66dc5278818083ae42c11b5075ef58da72bb5dd4 (patch)
treeafbf6e65791342ea24a3acf659f0a1832127c7fe /hostapd/pmksa_cache.c
parent0174b011a9c53193b94094f1c0501a15d9adbe18 (diff)
downloadhostap-history-66dc5278818083ae42c11b5075ef58da72bb5dd4.zip
hostap-history-66dc5278818083ae42c11b5075ef58da72bb5dd4.tar.gz
hostap-history-66dc5278818083ae42c11b5075ef58da72bb5dd4.tar.bz2
Replaced remaining occurrences of wpa_zalloc() calls with os_zalloc() to
get rid of the temporary backwards compatibility definition in common.h.
Diffstat (limited to 'hostapd/pmksa_cache.c')
-rw-r--r--hostapd/pmksa_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/pmksa_cache.c b/hostapd/pmksa_cache.c
index 43a31c1..a13410f 100644
--- a/hostapd/pmksa_cache.c
+++ b/hostapd/pmksa_cache.c
@@ -235,7 +235,7 @@ pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
if (pmk_len > PMK_LEN)
return NULL;
- entry = wpa_zalloc(sizeof(*entry));
+ entry = os_zalloc(sizeof(*entry));
if (entry == NULL)
return NULL;
memcpy(entry->pmk, pmk, pmk_len);
@@ -357,7 +357,7 @@ pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry,
{
struct rsn_pmksa_cache *pmksa;
- pmksa = wpa_zalloc(sizeof(*pmksa));
+ pmksa = os_zalloc(sizeof(*pmksa));
if (pmksa) {
pmksa->free_cb = free_cb;
pmksa->ctx = ctx;