aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/misty1/misty1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/misty1/misty1.h')
-rw-r--r--src/block/misty1/misty1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/misty1/misty1.h b/src/block/misty1/misty1.h
index a9bc12c7b..dbb8e2c45 100644
--- a/src/block/misty1/misty1.h
+++ b/src/block/misty1/misty1.h
@@ -21,7 +21,7 @@ class BOTAN_DLL MISTY1 : public BlockCipher
void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
- void clear() { EK.clear(); DK.clear(); }
+ void clear() { zeroise(EK); zeroise(DK); }
std::string name() const { return "MISTY1"; }
BlockCipher* clone() const { return new MISTY1; }