mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
stroke: Clear ipsec.secrets file from memory
This commit is contained in:
parent
b667eb37b9
commit
57faf886db
@ -1354,7 +1354,7 @@ static void load_secrets(private_stroke_cred_t *this, mem_cred_t *secrets,
|
||||
break;
|
||||
}
|
||||
}
|
||||
chunk_unmap(src);
|
||||
chunk_unmap_clear(src);
|
||||
|
||||
if (level == 0)
|
||||
{ /* replace secrets in active credential set */
|
||||
|
Loading…
x
Reference in New Issue
Block a user