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 a4bfa14b3..81324a0b2 100644
--- a/src/block/misty1/misty1.h
+++ b/src/block/misty1/misty1.h
@@ -21,7 +21,7 @@ class BOTAN_DLL MISTY1 : public Block_Cipher_Fixed_Params<8, 16>
void encrypt_n(const byte in[], byte out[], size_t blocks) const;
void decrypt_n(const byte in[], byte out[], size_t blocks) const;
- void clear() { zeroise(EK); zeroise(DK); }
+ void clear() { EK.clear(); DK.clear(); }
std::string name() const { return "MISTY1"; }
BlockCipher* clone() const { return new MISTY1; }