aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/cast/cast128.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/cast/cast128.h')
-rw-r--r--src/block/cast/cast128.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/cast/cast128.h b/src/block/cast/cast128.h
index 967e91938..e5d4a884b 100644
--- a/src/block/cast/cast128.h
+++ b/src/block/cast/cast128.h
@@ -21,7 +21,7 @@ class BOTAN_DLL CAST_128 : 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() { MK.clear(); RK.clear(); }
+ void clear() { zeroise(MK); zeroise(RK); }
std::string name() const { return "CAST-128"; }
BlockCipher* clone() const { return new CAST_128; }