mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
ccm: Make sure to wipe salt
This commit is contained in:
parent
0abb37b830
commit
9bda4a4415
@ -338,6 +338,7 @@ METHOD(aead_t, destroy, void,
|
||||
{
|
||||
this->crypter->destroy(this->crypter);
|
||||
this->iv_gen->destroy(this->iv_gen);
|
||||
memwipe(this->salt, sizeof(this->salt));
|
||||
free(this);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user