aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/mars/mars.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/mars/mars.h')
-rw-r--r--src/block/mars/mars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/mars/mars.h b/src/block/mars/mars.h
index f455ec5ca..37501fff1 100644
--- a/src/block/mars/mars.h
+++ b/src/block/mars/mars.h
@@ -21,7 +21,7 @@ class BOTAN_DLL MARS : 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(); }
+ void clear() { zeroise(EK); }
std::string name() const { return "MARS"; }
BlockCipher* clone() const { return new MARS; }