]> git.ipfire.org Git - thirdparty/hostap.git/commit
Clear OKC-based PMKSA caching entries if PMK is changed
authorJouni Malinen <j@w1.fi>
Sun, 2 Oct 2011 16:36:37 +0000 (19:36 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 2 Oct 2011 16:36:37 +0000 (19:36 +0300)
commitc3fea272747f738f5723fc577371fe03711d988f
tree95b83b9bafb9e296cb1115fb0eb47dc2aec33cfc
parent0098ce6d29ebbea5b4917960c9240bfea5daca32
Clear OKC-based PMKSA caching entries if PMK is changed

Whenever PMK gets changed (e.g., due to re-authentication), all PMKSA
caching entries that were created using the previous PMK needs to be
replaced. Previously, only the entry for the current AP was cleared.
Flush the other entries based on network_ctx matches to get rid of the
OKC entries. These entries can then be re-creating using OKC with the
new PMK.
src/rsn_supp/pmksa_cache.c