EAP server: Clear keying material on deinit
Reduce the amount of time keying material (MSK, EMSK, temporary private data) remains in memory in EAP methods. This provides additional protection should there be any issues that could expose process memory to external observers. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f534ee0804
commit
0a13e06bdb
14 changed files with 21 additions and 21 deletions
|
@ -83,7 +83,7 @@ static void eap_sake_reset(struct eap_sm *sm, void *priv)
|
|||
{
|
||||
struct eap_sake_data *data = priv;
|
||||
os_free(data->peerid);
|
||||
os_free(data);
|
||||
bin_clear_free(data, sizeof(*data));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue