Skip to content

Commit

Permalink
Merge branch 'bugfix/pmkid_sha256_bug' into 'master'
Browse files Browse the repository at this point in the history
wpa_supplicant: Fix PMKID SHA__256 related regression

Closes WIFI-5741 and WIFI-5740

See merge request espressif/esp-idf!23476
  • Loading branch information
jack0c committed Apr 27, 2023
2 parents a3d0f5d + 0518d2e commit 670c086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/wpa_supplicant/src/rsn_supp/pmksa_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
else if (wpa_key_mgmt_suite_b(akmp))
rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid);
else
rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid,
wpa_key_mgmt_sha256(akmp));
rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, akmp);

os_get_reltime(&now);
entry->expiration = now.sec + dot11RSNAConfigPMKLifetime;
entry->reauth_time = now.sec + dot11RSNAConfigPMKLifetime *
Expand Down

0 comments on commit 670c086

Please sign in to comment.