Minor bug fix which missed the last commit

This commit is contained in:
Luke Parker 2022-12-07 17:41:07 -05:00
parent 13977f6287
commit 6787e44664
No known key found for this signature in database

View file

@ -92,7 +92,7 @@ impl<Id: Eq + Hash, C: Ciphersuite> Zeroize for Encryption<Id, C> {
fn zeroize(&mut self) {
self.enc_key.zeroize();
self.enc_pub_key.zeroize();
for (_, value) in self.enc_keys.drain() {
for (_, mut value) in self.enc_keys.drain() {
value.zeroize();
}
}