aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/pmksa_cache.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2006-07-25 03:38:08 (GMT)
committerJouni Malinen <j@w1.fi>2006-07-25 03:38:08 (GMT)
commit87a559b93c65bf921d9213f5d5bf66208eb77de6 (patch)
tree9a4767d8d109591d84d3dd7e87dda0e583b789db /hostapd/pmksa_cache.c
parentb592b6a397ae8c282386e6ab2c9f3d265916a99e (diff)
downloadhostap-history-87a559b93c65bf921d9213f5d5bf66208eb77de6.zip
hostap-history-87a559b93c65bf921d9213f5d5bf66208eb77de6.tar.gz
hostap-history-87a559b93c65bf921d9213f5d5bf66208eb77de6.tar.bz2
Fixed hostapd to add PMKID KDE into 4-Way Handshake Message 1 when
using WPA2 even if PMKSA caching is not used.
Diffstat (limited to 'hostapd/pmksa_cache.c')
-rw-r--r--hostapd/pmksa_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hostapd/pmksa_cache.c b/hostapd/pmksa_cache.c
index 54c2d1d..27674bf 100644
--- a/hostapd/pmksa_cache.c
+++ b/hostapd/pmksa_cache.c
@@ -1,6 +1,6 @@
/*
* hostapd - PMKSA cache for IEEE 802.11i RSN
- * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ * Copyright (c) 2004-2006, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -49,8 +49,8 @@ struct rsn_pmksa_cache {
* IEEE Std 802.11i-2004 - 8.5.1.2 Pairwise key hierarchy
* PMKID = HMAC-SHA1-128(PMK, "PMK Name" || AA || SPA)
*/
-static void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa,
- const u8 *spa, u8 *pmkid)
+void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
+ u8 *pmkid)
{
char *title = "PMK Name";
const u8 *addr[3];