diff options
Diffstat (limited to 'src/block/rc2/rc2.h')
-rw-r--r-- | src/block/rc2/rc2.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/block/rc2/rc2.h b/src/block/rc2/rc2.h index dc78b06fc..223c48792 100644 --- a/src/block/rc2/rc2.h +++ b/src/block/rc2/rc2.h @@ -28,11 +28,9 @@ class BOTAN_DLL RC2 : public Block_Cipher_Fixed_Params<8, 1, 32> */ static byte EKB_code(size_t bits); - void clear() { zeroise(K); } + void clear() { K.clear(); } std::string name() const { return "RC2"; } BlockCipher* clone() const { return new RC2; } - - RC2() : K(64) {} private: void key_schedule(const byte[], size_t); |