mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-10 12:54:35 +00:00
Minor bug fix which missed the last commit
This commit is contained in:
parent
13977f6287
commit
6787e44664
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ impl<Id: Eq + Hash, C: Ciphersuite> Zeroize for Encryption<Id, C> {
|
||||||
fn zeroize(&mut self) {
|
fn zeroize(&mut self) {
|
||||||
self.enc_key.zeroize();
|
self.enc_key.zeroize();
|
||||||
self.enc_pub_key.zeroize();
|
self.enc_pub_key.zeroize();
|
||||||
for (_, value) in self.enc_keys.drain() {
|
for (_, mut value) in self.enc_keys.drain() {
|
||||||
value.zeroize();
|
value.zeroize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue