diff --git a/src/libstrongswan/plugins/aesni/aesni_gcm.c b/src/libstrongswan/plugins/aesni/aesni_gcm.c index f5f66f739..45620cd55 100644 --- a/src/libstrongswan/plugins/aesni/aesni_gcm.c +++ b/src/libstrongswan/plugins/aesni/aesni_gcm.c @@ -1361,6 +1361,7 @@ METHOD(aead_t, destroy, void, memwipe(&this->hh, sizeof(this->hh)); memwipe(&this->hhh, sizeof(this->hhh)); memwipe(&this->hhhh, sizeof(this->hhhh)); + memwipe(this->salt, sizeof(this->salt)); this->iv_gen->destroy(this->iv_gen); free_align(this); }