mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Extend PMKSA output parser to handle FILS Cache Identifier
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
6aea02e579
commit
6bb32582df
@ -1189,11 +1189,17 @@ class WpaSupplicant:
|
||||
if bssid not in l:
|
||||
continue
|
||||
vals = dict()
|
||||
[index,aa,pmkid,expiration,opportunistic] = l.split(' ')
|
||||
try:
|
||||
[index,aa,pmkid,expiration,opportunistic] = l.split(' ')
|
||||
cache_id = None
|
||||
except ValueError:
|
||||
[index,aa,pmkid,expiration,opportunistic,cache_id] = l.split(' ')
|
||||
vals['index'] = index
|
||||
vals['pmkid'] = pmkid
|
||||
vals['expiration'] = expiration
|
||||
vals['opportunistic'] = opportunistic
|
||||
if cache_id != None:
|
||||
vals['cache_id'] = cache_id
|
||||
return vals
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user